通过Selenium Webdriver运行时Internet Explorer挂起 [英] Internet Explorer hangs when ran through selenium webdriver

查看:186
本文介绍了通过Selenium Webdriver运行时Internet Explorer挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Internet Explorer中运行测试时,加载主页后,它只会挂起/无响应.

When running the test in internet explorer , after the home page is loaded , it just hangs/ become unresponsive.

  • 硒版本:2.53
  • Windows Server 2012操作系统
  • Internet Explorer 11

Internet选项中更改的安全设置仍然无效.

Changed security settings in Internet options still no use.

观察:有时通过更改某些安全设置,不存在带有部分文本的此类元素.但是相同的代码在firefoxchrome中都可以正常运行.

Observation : Sometimes by changing some security settings , says there is no such element with partial text is present. But same code runs fine in both firefox and chrome.

感谢您的帮助.

推荐答案

当您下载32位IE驱动程序服务器并在64位OS上使用它时,就会发生这种情况,反之亦然.由于这可能是一个问题,因此建议您下载相对32或64位的最新IE驱动程序.

It happens when you download 32 bit IE driver server and use it on 64 bit OS or Vice-versa. As this can be a point of Issue so I suggest you to download latest IE driver of relative 32 or 64 bit.

按照网址下载IE驱动程序:

Follow the url to download IE driver:

访问: http://www.seleniumhq.org/download/

这篇关于通过Selenium Webdriver运行时Internet Explorer挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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