So I'm trying to emulate the code in this page: Javascript in Python
#!/usr/bin/env python
from contextlib import closing
from selenium.webdriver import Firefox # pip install selenium
from selenium.webdriver.support.ui import WebDriverWait
url = "http://www.python.org"
# use firefox to get page with javascript generated content
with Firefox() as browser:
browser.get(url)
but I am getting this error:
FileNotFoundError Traceback (most recent call last)
c:\programdata\miniconda3\lib\site-packages\selenium\webdriver\common\service.py in start(self)
73 close_fds=platform.system() != 'Windows',
---> 74 stdout=self.log_file, stderr=self.log_file)
75 except TypeError:
any suggestions, please?
I am using python 3.6 in a Jupyter notebook