I'm sure this has been answered somewhere, but I've searched high and low and haven't managed to figure it out.
I'm trying to use selenium's webdriver on Firefox as shown in "Automate the boring stuff" and I keep getting the below error.
I've updated Firefox, downloaded selenium (obviously) and tried various other solutions. I'm also on a Linux machine.
from selenium import webdriver
browser = webdriver.Firefox()
Traceback (most recent call last):
File "<ipython-input-36-baa5adeac11b>", line 1, in <module>
browser = webdriver.Firefox()
File "/home/accounts/name/anaconda3/lib/python3.6/site-packages/selenium/webdriver/firefox/webdriver.py", line 137, in __init__
if options.binary is not None:
AttributeError: 'Options' object has no attribute 'binary'