[英]Selenium performance with InternetExplorerDriver and IE11
I am facing a very slow response when running my scripts on IE11.在 IE11 上运行我的脚本时,我面临着非常缓慢的响应。 Sometimes, I get
FocusWindowsClosed
, ElementIsNotClickable
.有时,我会收到
FocusWindowsClosed
和ElementIsNotClickable
。 I have changed the zoom settings for all zones, created feature BFCACHE
for IE in feature control, added capabilities into my code but nothing works for me.我已经更改了所有区域的缩放设置,在功能控制中为IE创建了功能
BFCACHE
,在我的代码中添加了功能,但对我来说没有任何效果。 If anyone has any idea why I am facing this issue.如果有人知道我为什么面临这个问题。 Do i need to downgrade window or IE versions?
我是否需要降级 Windows 或 IE 版本? I have also downloaded the same version of selenium client server with same IEDriver which is (3.8.0).
我还下载了具有相同 IEDriver 的相同版本的 selenium 客户端服务器(3.8.0)。
To start with, Selenium v3.8.0 of 2017-11-30 is more then 2 years older.首先, 硒v3.8.0的2017年11月30日更多的则是2岁以上。 Even the error trace logs would be difficult to debug.
即使是错误跟踪日志也很难调试。 So as per best practices you may like to:
因此,根据最佳实践,您可能希望:
You can find a detailed discussion in IEDriverServer sends text very slowly using Selenium to the search field
你可以在IEDriverServer send text very slow using Selenium to the search field中找到详细的讨论
Note : As per best practices as Selenium Client and InternetExplorerDriver are released in sync and you must try to use both the binaries from the same major release.
注意:根据最佳实践, Selenium Client和InternetExplorerDriver是同步发布的,您必须尝试使用同一主要版本中的两个二进制文件。
@Test
.@Test
。driver.quit()
within tearDown(){}
method to close & destroy the WebDriver and Web Client instances gracefully.tearDown(){}
方法中调用driver.quit()
以优雅地关闭和销毁WebDriver和Web Client实例。A couple of references:几个参考:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.