Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example script: OSError: [Errno 20] Not a directory #526

Closed
karellat opened this issue Nov 24, 2016 · 1 comment
Closed

Example script: OSError: [Errno 20] Not a directory #526

karellat opened this issue Nov 24, 2016 · 1 comment

Comments

@karellat
Copy link

Hi all,
I tried to run example script from the very bottom of this site:
I get following error message. (firefox installed)

Traceback (most recent call last):
File "hello.py", line 3, in
browser = Browser()
File "/usr/local/lib/python2.7/dist-packages/splinter/browser.py", line 63, in Browser
return driver(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/splinter/driver/webdriver/firefox.py", line 48, in init
timeout=timeout)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 135, in init
self.service.start()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/common/service.py", line 64, in start
stdout=self.log_file, stderr=self.log_file)
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 20] Not a directory

@andrewsmedina
Copy link
Member

to run the example, firefox should be installed. there are more info here: http://splinter.readthedocs.io/en/latest/drivers/firefox.html#module-splinter.driver.webdriver.firefox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants