尝试使用Internet Explorer 11 / IE11运行Codeception / Selenium时的PHPUnit_Framework_Exception

问题描述 投票:0回答:1

当我尝试使用Internet Explorer 11运行我的Codeception测试时,出现以下错误:

[PHPUnit_Framework_Exception] Undefined index: ELEMENT
selenium phpunit internet-explorer-11 codeception
1个回答
0
投票

通过使用passthru标志重新启动Selenium解决了这个问题。

java -jar selenium-server-standalone-3.5.3.jar -enablePassThrough false
© www.soinside.com 2019 - 2024. All rights reserved.