How to turn off w3c in chromedriver to address the error unknown command: Cannot call non W3C standard command while in W3C

后端 未结 8 1768
梦谈多话
梦谈多话 2020-11-27 05:41

With version 75 of Chrome just released, our tests no longer run properly. They give the stacktrace pasted below. We are using ruby on rails v. 5.1.6.2 with rspec, seleniu

8条回答
  •  余生分开走
    2020-11-27 06:29

    After doing options = Selenium::WebDriver::Chrome::Options.new you can do options.add_option('w3c', false)

提交回复
热议问题