Capybara + Selenium + JS

1 view
Skip to first unread message

Luís Ferreira

unread,
Nov 18, 2011, 4:45:07 AM11/18/11
to rubyonra...@googlegroups.com
Hi,

I've recently been working with Capybara 0.4.0 and the bundled Selenium driver in Rails 2.3.8 with Ruby 1.8.7 to do integration testing with javascript. The problem I have is that Capybara's page object does not seem to be affected by the Javascript, even though I can see the changes happening in the browser, they are not reflected in that object's markup.

Here is the code http://pastie.org/2882350, everything else is working.

Reply all
Reply to author
Forward
0 new messages