travis-ci/travis-ci — Issue #344: firefox is fail to connect via xvfb
Author: saberma
Created: 2011-11-28 10:40:55+00:00
State: open

http://about.travis-ci.org/docs/user/selenium-setup/

This article show me how to use xvfb, but I still get this error:

```ruby
$ sh -e /etc/init.d/xvfb start
starting virtual X frame buffer: Xvfb.
$ bundle exec rake travis
Starting to run rspec spec/requests...

Failure/Error: visit '/'
Selenium::WebDriver::Error::WebDriverError:
unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055)
```

I install xvfb in my local computer, it works fine.

btw, DISPLAY is set in the Rakefile, see https://github.com/saberma/test_travis_xvfb/blob/master/Rakefile

Here is the building result: http://travis-ci.org/#!/saberma/test_travis_xvfb/builds/349610