Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Python Firefox webdriver can fail on slow systems #1300
When I try to load Firefox webdriver in python using:
It occasionally fails after around 30 seconds with below traceback:
I am almost sure it's to do with hardcoded 30 seconds timeout in firefox_binary.py:101. When I changed that value to 60 it started working.
I tried to load webdriver like this:
but after looking at the code the timeout is not actually used so made no difference
How to replicate:
pushed a commit
Nov 21, 2015
I started working on possible fix here:
Note that the above branch is untested and not ready for merge, posting here for reference to help anybody else interested in troubleshooting
I am getting this error everytime I start FF with this command: "browser = webdriver.Firefox()" , even if I change this hardcoded timeout value to a bigger number (in my test was 100s).