Top "Poltergeist" questions

Poltergeist is a Capybara driver for PhantomJS.

Poltergeist - turning off JQMIGRATE warnings

When running my test suite using poltergeist as the JavaScript driver, I am encountering the following warnings: JQMIGRATE: jQuery.fn.…

jquery ruby-on-rails ruby ruby-on-rails-3 poltergeist
How to return a value when using execute_script in capybara?

I have a really simple line in a test that calls execute script like this: puts page.execute_script("return …

ruby-on-rails rspec capybara integration-testing poltergeist
Poltergeist throws JS errors when js_errors: false

I have a large test suite that is using poltergeist and capybara. I keep getting the following error: One or …

capybara phantomjs poltergeist
How can I test a rails 4 confirm dialog with Capybara and Poltergeist?

I'm trying to test that a link to a destroy action throws a native browser confirm box with the correct …

ruby-on-rails rspec capybara poltergeist
Downloading file to specific folder using Capybara and Poltergeist driver

I am writing my acceptance tests using Capybara and Poltergeist driver.I need to validate the content of the CSV …

capybara poltergeist
Rails Phantomjs, poltergeist, and Capybara not playing well together

Working in a rails 3.1.2 project (mac OS X), I have PhantomJS properly installed (I can run code like the following …

ruby-on-rails-3 capybara rspec-rails phantomjs poltergeist
How do poltergeist/PhantomJS and capybara-webkit differ?

What are the differences between PhantomJS and capybara-webkit? What are the advantages of capybara-webkit over PhantomJS? Which of the two …

capybara phantomjs capybara-webkit poltergeist
capybara-webkit cannot simulate click on (non link/button) element

In an rspec feature scenario I have: scenario 'shows things', js: true do page.find('#my_div').trigger(:click) …

jquery ruby-on-rails rspec capybara poltergeist