Devoured By Lions

the eternal struggle to tame complexity

Latest Capybara and Selenium

I just updated to the latest Capybara and Selenium on a project that I’ve been away from for a while and had to make the following change:

http://johnwilger.com/2011/04/capybara_selenium_and_firefox_3_5.html

Capybara::Selenium::Driver::DEFAULT_OPTIONS[:resynchronize] = false


I am also getting the following warning:

Selenium::WebDriver::Element#drag_and_drop_{by,on} is deprecated. Please use Selenium::WebDriver::Driver#action (and Selenium::WebDriver::ActionBuilder) instead.


However after some investigation it appears that this is an issue Capybara should deal with; presumably the Capybara implementation should be updated and not my integration test code (which should only use the external Capybara API).