Capybara + Selenium + JS


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

Here is the code, everything else is working.