Chrome自动化扩展锁定时运行Selenium测试用例
Chrome automation extension locked when running Selenium test case
我正面临一个在Google Chrome上运行我的测试用例的问题。警告是:谷歌Chrome自动扩展锁定。我正在使用Selenium web驱动程序来自动化我的测试用例,它在Firefox上运行没有任何问题。
此消息发生在RIDE;
WebDriverException: Message: unknown error: unable to discover open
pages (Driver info: chromedriver=2.16.333243
(0bfa1d3575fc1044244f21ddb82bf870944ef961),platform=Windows NT 6.0
x86_64)
20151008 14:19:31.499 : FAIL : AttributeError: 'NoneType' object has
no attribute 'close'
这个问题有什么解决办法吗?
从下面的链接更新您的ChromeDriver并使用最新的Chrome二进制文件:-
http://chromedriver.storage.googleapis.com/index.html试试这个:-
将Windows电源选项中的"关闭显示后"设置为"从不"
相关文章:
- 运行Selenium Webdriver Test时,不会出现警报
- 运行Selenium-webdriver时拒绝连接
- 尝试使用Selenium运行测试时出现此错误:启动配置AWTConsole引用不存在的项目测试项目
- 如何在php-webdriver客户端和selenium上运行时获取HTMLspan标记的值
- 运行selenium webdriverjs测试时,如何查看浏览器日志消息
- 在chrome上运行nighwatch.js/selenium框架时启用WebGL
- 当使用selenium-webdriverjs运行mocha测试时,调用堆栈没有太大帮助
- 找不到模块'glob'当运行node.js文件和selenium时
- 在Node.js上使用Javascript运行selenium
- 我可以使用selenium网络驱动程序同时运行多个实例吗
- Intern真的能在任何Selenium服务上运行吗
- 如何在运行Selenium Webdriver (Python)测试时加载禁用javascript的Firefox
- Selenium如何引用测试运行器窗口
- 如何编写运行量角器/Selenium 浏览器自动化脚本的 AWS Lambda 脚本
- 尝试运行Selenium时出现问题
- 使用selenium获取运行计时器
- Chrome自动化扩展锁定时运行Selenium测试用例
- 如何在windows的后台运行Selenium浏览器
- 不能并行运行Selenium PhantomJS实例
- 运行Selenium测试时,我可以处理事件吗