I am using Capybara selenium webdriver in my env.rb I have the following code
Capybara::Selenium::Driver.new(app, :browser => :ff, :resynchronize => false)
when I execute my feature file using cucumber comman e.g cucumber test.feature
I am getting the below error
unknown option: {:resynchronize=>false} (ArgumentError) c:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.26.0/lib/selenium/webdriver/firefox/br idge.rb:17:in `initialize'
I am not sure what causes the issue. When I remove :resynchronize => false
from the code and have it as below:
Capybara::Selenium::Driver.new(app, :browser => :ff)
The code works but I need to have resynchronize => false
.