todo-tutorial
todo-tutorial copied to clipboard
selenium-webdriver doesn't work problem
Capybara.register_driver :selenium_with_firebug do |app|
profile = Selenium::WebDriver::Firefox::Profile.new
profile.frame_position = ENV['DRIVER'] && ENV['DRIVER'][2]
profile.enable_firebug
Capybara::Selenium::Driver.new(app, :browser => :firefox, marionette: true)
end
The profile can not pass to Capybara::Selenium::Driver.new.
It was Capybara::Selenium::Driver.new(app, :browser => :firefox, :profile => profile)
but Firefox updated and Selenium updated for marionette.
So I looking for how figure it out and I change that code like that and spec test work now.
But firebug no more enable.
I'm sorry for my bad English.
so you are trying to use marionette? Could you stay with the released version for now?