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

后端 未结 8 1744
梦谈多话
梦谈多话 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:41

    PHP Behat-Mink-Selenium users see this post for information: https://medium.com/@alex.designworks/chromedriver-75-enforces-w3c-standard-breaking-behat-tests-460cad435545 and GitHub issue https://github.com/minkphp/MinkSelenium2Driver/issues/293

    As of this post, the "workaround" is to fall back to Chrome 74 for those using Behat-Mink-Selenium.

    0 讨论(0)
  • 2020-11-27 06:45

    I recently upgraded appium to 1.18 , using chromeDriver version 84 and my chrome browser version is also 84. I use appium python library to start a browser. My capabilities are like below but I get error -"WebDriverException: Message: 'chromeOptions' must be of type object". Please let me know whats wrong with my capabilities.

    { 
      'platformName':'Android', 
      'platformVersion':'8.0.0',
      'deviceName':'Samsung Galaxy S9',
      'deviceType':'Phone', 
      'nativeWebTap': 'True',
      'browser' : 'Chrome',
      'chromeOptions' : '{args: [ 'w3c : false']}' 
    }
    
    0 讨论(0)
提交回复
热议问题