python-needle / needle

Automated tests for your CSS.
https://needle.readthedocs.io/
Other
590 stars 50 forks source link

Give more time for XVFB and drivers to start #66

Closed jmbowman closed 7 years ago

jmbowman commented 7 years ago

The first Firefox test in a Travis job for a previous test run got a "Connection refused" WebDriverException when attempting to get the driver, perhaps because xvfb hadn't finished initializing yet. Give it a little more time in Travis jobs, and allow a few attempts to get the driver in case the first attempt hits a similar selenium exception.

jphalip commented 7 years ago

That seems to have done it, thanks!