poltergeist Questions
1
Solved
Testing a rails application which has before_filter :authenticate_user! for most controllers, I cannot get Capybara to preserve a session.
I have Capybara configured using PhantomJS with poltergei...
Yellow asked 4/9, 2013 at 20:59
1
Solved
I have a CSS selector with a colon in the name, which apparently is a problem.
Example:
selector = 'input#billing:street1'
find(selector)
I get the following error message:
The browser raised ...
Mccreary asked 31/7, 2013 at 15:46
2
Solved
I'm trying to test an jquery UI autocomplete, I've got the tests passing using the selenium driver. I want to switch to poltergiest for some headless testing, but now my tests are now failing.
It ...
Flexuous asked 21/1, 2013 at 15:24
1
Right now I'm using the selenium driver with Capybara, but I'd like to switch to using Poltergeist. A lot of the interface I'm testing, though, involves dragging and dropping elements in particular...
Humanitarianism asked 1/5, 2013 at 5:22
1
Solved
In an rspec feature scenario I have:
scenario 'shows things', js: true do
page.find('#my_div').trigger(:click)
This doesn't seem to fire the jQuery handler that's on the click event of this el...
Manheim asked 19/4, 2013 at 2:32
1
Solved
I have this cucumber step definitions that work with Selenium but I get NotImplementedError when I try them with the poltergeist driver.
phantom.js is installed and I can even take screenshots fro...
Intarsia asked 10/4, 2013 at 16:31
1
Solved
According to capybara's README:
The two following statements are functionally equivalent:
page.should_not have_xpath('a')
page.should have_no_xpath('a')
However, when trying this out, that d...
Infundibuliform asked 6/3, 2013 at 15:58
3
Solved
Working in a rails 3.1.2 project (mac OS X), I have PhantomJS properly installed (I can run code like the following and it works perfectly, accurately grabbing the title of the page and saving an a...
Conduction asked 26/11, 2012 at 19:49
© 2022 - 2024 — McMap. All rights reserved.