尝试使用Internet Explorer 11/IE11运行Codeception/Selenium时出现PHPUnit_Framework_Exception [英] PHPUnit_Framework_Exception when trying to run Codeception / Selenium with Internet Explorer 11 / IE11

查看:101
本文介绍了尝试使用Internet Explorer 11/IE11运行Codeception/Selenium时出现PHPUnit_Framework_Exception的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

[PHPUnit_Framework_Exception] Undefined index: ELEMENT

推荐答案

此问题通过使用passthru标志重新启动Selenium得以解决.

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

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

这篇关于尝试使用Internet Explorer 11/IE11运行Codeception/Selenium时出现PHPUnit_Framework_Exception的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆