简体   繁体   English

InternetExplorerDriver 和 IE11 的 Selenium 性能

[英]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 .有时,我会收到FocusWindowsClosedElementIsNotClickable 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.02017年11月30日更多的则是2岁以上。 Even the error trace logs would be difficult to debug.即使是错误跟踪日志也很难调试。 So as per best practices you may like to:因此,根据最佳实践,您可能希望:

  • First of all, the fact that ...64-bit IEDriverServer executable populate the input fields with the character sequence very slowly as compared to 32-bit IEDriverServer executable.... is a known issue.首先,与 32 位 IEDriverServer 可执行文件相比...64 位 IEDriverServer 可执行文件用字符序列填充输入字段的速度非常慢这一事实......是一个已知问题。

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中找到详细的讨论


tl;dr tl;博士

A couple of references:几个参考:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM