.locateMultipleElements()协议操作:未知错误:脚本返回意外结果

时间:2019-08-13 14:41:16

标签: nightwatch.js

NightwatchJS 1.1.11
Chromedriver::76.0.3809.68
Chrome浏览器::76.0.3809.100

enter image description here

  1. 尝试使用NightwatchJS 1.2.1的最新版本
  2. “ desiredCapabilities”:{
          “ browserName”:“ chrome”,
          “ chromeOptions”:{
            “ w3c”:false,

              “ args”:[
              “ --use-fake-ui-for-media-stream”,“-disable-gpu”,“-disable-dev-shm-usage”,“-disable-extensions”,“-no-sandbox “,” disable-infobars“,”-start-maximized“,”-whitelisted-ips“         ]
          }
        }
  3. 尝试在chromeOptions中提供useSpecCompliantProtocol = false

0 个答案:

没有答案