Answer the question
In order to leave comments, you need to log in
How to test Selenium using Vagrant?
I have a project in Django, written a lot of selenium tests. I test everything through Py.test, BDD.
Previously led development on a local machine. Now we have made a team transition to Vagrant.
That is, each of the team has the same config for the development environment. And in general, everything is fine from the moment we got to testing the project. All tests that the browser (selenium) requires are overwhelmed. On the virtual machine, I did sudo apt-get install firefox. As a result I get:
selenium.common.exceptions.WebDriverException: Message: The browser appears to have exited before we could connect. If you specified a log_file in the FirefoxBinary constructor, check it for details.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question