Typescript 在W3C模式下无法调用非W3C标准命令
昨天我在使用Linux在Jenkins中运行代码时遇到了这个错误 我的conf.ts是这样的:Typescript 在W3C模式下无法调用非W3C标准命令,typescript,selenium,protractor,w3c,Typescript,Selenium,Protractor,W3c,昨天我在使用Linux在Jenkins中运行代码时遇到了这个错误 我的conf.ts是这样的: framework: 'jasmine', // directConnect: true, capabilities: { , browserName: 'chrome', platform: 'ANY', **chromeOptions: { 'args': ['disable-infobars', 'start-maximized'], w3c: false },** w3c是错误的 我
framework: 'jasmine',
// directConnect: true,
capabilities: {
,
browserName: 'chrome',
platform: 'ANY',
**chromeOptions: { 'args': ['disable-infobars', 'start-maximized'], w3c: false },**
w3c是错误的
我在selenium和量角器上使用typescript
谷歌chrome版本是最新的80.0.3987.106
我只想强调,如果我在本地运行代码,那么它就可以正常工作(使用windows 10)
但在使用Linux的远程系统上,我发现了上述错误。
直到昨天,一切都很顺利,但我没有改变任何与之相关的事情。
非常感谢。应用chromeOptions{“w3c”:false}的修复程序适用于ChromeV75和相关chromedriver,但我现在在v80.0.3987.106中再次体验到了这一点,chromeOptions修复程序没有help@Shai@MikeW-我在docker中运行量角器测试时遇到了同样的问题。你找到解决这个问题的办法了吗?