-
Notifications
You must be signed in to change notification settings - Fork 101
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
Intermittent "Can't load the profile" errors during initialization #62
Comments
Checking the browser logs from the failed cases, it turns out this happens when Tor cannot bootstrap, e.g.:
Perhaps Tor Browser waits for Tor to bootstrap, and Selenium waits for the browser to be connectable. I ran into this problem only ~3 of 100 runs on a local PC with a good network connection. It may make sense to skip the tests that require a Tor bootstrap on Travis. In addition we may consider exposing this error (that "tor cannot bootstrap") to calling code. |
We recently had intermittent test failures on Travis due to an initialization error:
https://travis-ci.org/webfp/tor-browser-selenium/builds/152743802
https://travis-ci.org/webfp/tor-browser-selenium/builds/152723579
The error message from Selenium:
Can't load the profile. Profile Dir: /tmp/tmpO7i1lL/webdriver-py-profilecopy If you specified a log_file in the FirefoxBinary constructor, check it for details
The text was updated successfully, but these errors were encountered: