PHPUnit_Framework_Exception when trying to run Cod

2019-08-27 17:07发布

问题:

When I try to run my Codeception tests with Internet Explorer 11, I get the following error:

[PHPUnit_Framework_Exception] Undefined index: ELEMENT

回答1:

This problem was resolved by re-starting Selenium with a passthru flag.

java -jar selenium-server-standalone-3.5.3.jar -enablePassThrough false