FirefoxDriver always starting on “firstrun” page, breaking all test scripts

后端 未结 4 1749
说谎
说谎 2021-01-02 23:08

Starting just last night, the FirefoxDriver has been always opening on this page: https://www.mozilla.org/en-US/firefox/42.0/firstrun/learnmore/. I have tried c

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-02 23:29

    I was having this problem when running RSpec/Capybara tests using a Selenium Webdriver and Poltergeist with Firefox as the browser for a Rails app. Tried reconfiguring Firefox in various ways to no avail but managed to fix by simply updating the selenium-webdriver gem in my Gemfile (gem 'selenium-webdriver'):

    bundle update selenium-webdriver

    Credit goes to @lucetzer

提交回复
热议问题