Skip to content
This repository has been archived by the owner on Oct 19, 2018. It is now read-only.

selenium-webdriver doesn't work problem #6

Open
onesup opened this issue Oct 11, 2016 · 1 comment
Open

selenium-webdriver doesn't work problem #6

onesup opened this issue Oct 11, 2016 · 1 comment

Comments

@onesup
Copy link

onesup commented Oct 11, 2016

  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.

@catmando
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants