I am a noob python programmer and have recently been pushing through my first textbook on this language called "Automate the Boring Stuff with Python". I have gotten to the web scraping section and I am being instructed to access firefox via Selenium. I have found a few resources online about my error message but I do not have enough experience to relate back to a solution for myself. Here is the code and then error code it leaves.
from selenium import webdriver
browser = webdriver.Firefox()
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
browser = webdriver.Firefox()
File "C:Python35-32libsite-packagesseleniumwebdriverfirefoxwebdriver.py", line 81, in __init__
self.binary, timeout)
File "C:Python35-32libsite-packagesseleniumwebdriverfirefoxextension_coection.py", line 51, in __init__
self.binary.launch_browser(self.profile, timeout=timeout)
File "C:Python35-32libsite-packagesseleniumwebdriverfirefoxfirefox_binary.py", line 68, in launch_browser
self._wait_until_coectable(timeout=timeout)
File "C:Python35-32libsite-packagesseleniumwebdriverfirefoxfirefox_binary.py", line 98, in _wait_until_coectable
raise WebDriverException("The browser appears to have exited "
selenium.common.exceptions.WebDriverException: Message: The browser appears to have exited before we could coect. If you specified a log_file in the FirefoxBinary constructor, check it for details.
So I believe that my firefox does not support Selenium as it has in past versions. link to back this up: FirefoxDriver will stop working at version 47 of Firefox
So that's all I've got right now I would appreciate some help on this and I think it would help a lot of a lot of other people out if we could format a simple solution to this problem that seems to be pretty common. Sorry if this has been asked. I've looked through a lot of the questions on here and just couldn't get any success.
I'm using python 3.5 on windows 10
