Am getting an error in travis when running my tox
tests after adding some selenium
testing. I attempted to follow the Travis docs here. However, I am getting this error:
selenium.common.exceptions.WebDriverException: Message: The browser appears to have exited before we could connect.
Below is my .travis.yml
file. Any ideas why this wouldn't be working? Here is an example of the test case I am running (from another question).
.travis.yml
language: python
python: 3.5
sudo: false
env:
- TOX_ENV=py34-django18
# many more environments follow
install:
- pip install tox coveralls
script:
- tox -e $TOX_ENV
after_success: coveralls
before_install:
- "export DISPLAY=:99.0"
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"