Followed the instructions here: https://help.pythonanywhere.com/pages/selenium/ to set it up. Was able to install pyvirtualdisplay and Selenium (2.53.6). Not using a virtualenv
However, I'm still getting an error running the following code:
from pyvirtualdisplay import Display
from selenium import webdriver
with Display():
browser = webdriver.Firefox()
try:
browser.get('http://www.google.com')
print(browser.title)
finally:
browser.quit()
Error message: FileNotFoundError: [Errno 2] No such file or directory: 'geckodriver'. I thought geckodriver wasn't needed?