nruth/show_me_the_cookies — pull request #5 by mathieul (2011-12-15 21:06:14+00:00)
Title: Allow to work with custom Capybara drivers that use Capybara::Selenium::Driver

Thanks for this gem!

In the project we're using it, we're also registering our own custom Capybara drivers that are using Selenium and set different options to use a remote browser or set the :resynchronize option to true for instance.

i.e.:

Capybara.register_driver :chrome do |app|
Capybara::Selenium::Driver.new(app, :browser => chrome, :resynchronize => true)
end
[...]
Capybara.current_driver = :chrome

The goal of this pull request is to be able to use show_me_the_cookies with those custom drivers.