Giter Club home page Giter Club logo

Comments (7)

dpickett avatar dpickett commented on September 24, 2024

I'm experiencing the same nondeterminism. It appears to happen when my system is already under heavy pressure from other running processes. Maybe this needs to be an adjustable/configurable item in the driver?

from capybara-webkit.

mcmire avatar mcmire commented on September 24, 2024

Is this when visiting a page for the first time?

from capybara-webkit.

petRUShka avatar petRUShka commented on September 24, 2024

In my case -- yes

from capybara-webkit.

mcmire avatar mcmire commented on September 24, 2024

Okay. Reason I ask is I'm getting the same error. The real issue, I believe, is that the gem is timing out starting the Webkit server. This is also periodic for me -- not quite half the time, though, more like 1 out of 10 times. I don't know why this happens, but I think if the timeout were increased a bit that would solve the problem for me at least.

from capybara-webkit.

jferris avatar jferris commented on September 24, 2024

I'd take a pull request that makes this configurable.

from capybara-webkit.

manuelvanrijn avatar manuelvanrijn commented on September 24, 2024

just had the same problem as described above. Seemed to by the webkit_server that was running 20 times. Probably didn't exit well. After killing all the /.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/capybara-webkit-0.7.2/bin/webkit_server problem seemed to be solved

from capybara-webkit.

jferris avatar jferris commented on September 24, 2024

We've increased the timeout for starting the server. You can configure how long capybara waits before timing out using default_wait_time: http://rubydoc.info/gems/capybara/Capybara#default_wait_time-class_method

from capybara-webkit.

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.