Closed atanych closed 7 years ago
Which solution exactly did you try from the linked wiki?
@atanych And you're 100% sure you did that correctly, it rebuilt the ruby version successfully and that you're actually using the version of ruby you rebuilt? If so maybe try option 4 instead. This is a pry issue and not actually a Poltergeist issue.
@twalpole The main reason why Im not sure that pry issue, it works with another capybara driver. I will try today option 4 and will send result here.
@atanych The fact it works with selenium doesn't mean anything. selenium-webdriver doesn't start threads to talk to the browser, everything is synchronous. Poltergeist works differently by using a separate thread to handle the output of PhantomJS. If pry is blocking all threads from running (when it shouldn't be) or not providing a way to start those threads again, then it's a pry issue.
Hi @atanych Did you fix this issue? I'm having the same issue in my box, tried to follow solution #2 and #4 from the guard link, but no luck. Thanks!
@gnaciojonas Hi! Nope, I have replaced poltergeist with chomedriver.
But question is actual.
Hi there!
Caught weird lock when run test with
binding.pry
and try to create screensave_and_open_screenshot
poltergeist (1.15.0) phantomjs (2.1.1) ruby (2.3.3)
config
error message:
PS. When I change javascript_driver on
chrome
I can create screenshots after binding.pryAlso I tried this solution https://github.com/pry/pry/wiki/FAQ#threads-dont-work-whats-wrong. It is not helped me