Let us know how we can contact you.
We'll respond shortly.
By Mike Gehard • August 20, 2010
The has_css? method call will wait until the element shows up and if it doesn’t show up before the Capybara timeout expires then it will return false.
You can also just use the built in web step: Then I should see “something loaded by JS”
Thanks Brandon for the clarification!
The key for us in this step is the :visible => true option. The out of the box “Then I should see” web step passes even if the text isn’t visible but does appear in the DOM, I believe.
We were waiting for a dialog to be visible so we could do something with it.
Sorry I wasn’t more clear in the original post.
Your Information (Name required. Email address will not be displayed with comment.)
Mail (will not be published) (required)
* Copy This Password *
* Type Or Paste Password Here *
Open Source Disclosure Information