todo-tutorial icon indicating copy to clipboard operation
todo-tutorial copied to clipboard

selenium-webdriver doesn't work problem

Open onesup opened this issue 9 years ago • 1 comments

  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.

onesup avatar Oct 11 '16 21:10 onesup

so you are trying to use marionette? Could you stay with the released version for now?

catmando avatar Oct 13 '16 00:10 catmando