Giter Club home page Giter Club logo

Comments (7)

leonid-shevtsov avatar leonid-shevtsov commented on May 24, 2024

Hi Brian,

Headless launches Xvfb asynchronously in the background, so it could definitely happen that the Ruby program tries to use the framebuffer before it is created by Xvfb.

I added an existence check to the launch process; please try if fix in the wait-for-xvfb-to-launch branch resolves your issue. To do this, change the headless reference in your Gemfile to

gem 'headless', :git => 'git://github.com/leonid-shevtsov/headless.git', :branch => 'wait-for-xvfb-to-launch'

from headless.

bbbco avatar bbbco commented on May 24, 2024

After a few weeks of using this, I have not run across this issue again on my CI server. I would recommend merging it into the master branch.

Thanks!

Brian

from headless.

 avatar commented on May 24, 2024

Hello,
It will be really nice to see this change merged. We have the same issue.

Cheers!

from headless.

leonid-shevtsov avatar leonid-shevtsov commented on May 24, 2024

Done! Please update the gem to version 1.0.1.

from headless.

kanwal8283 avatar kanwal8283 commented on May 24, 2024

Update selenium-webdriver. it should work!

from headless.

snowe2010 avatar snowe2010 commented on May 24, 2024

I'm still getting this error on CentOS using the Headless 1.0.1 gem.

from headless.

CloCkWeRX avatar CloCkWeRX commented on May 24, 2024

I'm still getting this error on CentOS using the Headless 1.0.1 gem.
Ditto.

from headless.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.