python webdriver error when starting Firefox
I got around this by manually setting the binary location as per the following answer:
https://stackoverflow.com/a/25715497
Remember to set your binary to the actual location of the firefox binary on your computer
eg:
from selenium.webdriver.firefox.firefox_binary import FirefoxBinarybinary = FirefoxBinary(r'C:\Program Files (x86)\Mozilla Firefox\firefox.exe')self.browser = webdriver.Firefox(firefox_binary=binary)
(note: the 'r' before the first quote in the file path string makes python see the string as 'raw' text, and therefore you don't need to escape characters like '\' - you can just put in the path as it actually is)