I am using gems capybara (2.0.2) cucumber (1.2.1) selenium-webdriver (2.29.0)
and in my env.rb
Capybara.register_driver :selenium do |app|
Capybara::Selenium::Driver.new(app, :browser => :chrome)
end
Capybara.javascript_driver = :selenium_chrome
Its open blank new chrome tab in existing chrome window then my test cases is giving error.
end of file reached (EOFError)
but my test cases is working fine with firefox.