【问题标题】:PHPUnit_Framework_Exception when trying to run Codeception / Selenium with Internet Explorer 11 / IE11尝试使用 Internet Explorer 11 / IE11 运行 Codeception / Selenium 时出现 PHPUnit_Framework_Exception
【发布时间】:2018-07-25 18:33:37
【问题描述】:

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

[PHPUnit_Framework_Exception] Undefined index: ELEMENT

【问题讨论】:

    标签: selenium phpunit internet-explorer-11 codeception


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 2018-07-25
      • 1970-01-01
      • 1970-01-01
      • 2013-12-19
      • 2020-09-27
      • 1970-01-01
      • 2015-03-11
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多