How to fix the slow sendkeys on IE 11 with Selenium Webdriver 3.0.0?

后端 未结 11 471
无人共我
无人共我 2020-12-10 17:19

Firefox and chrome is working fine but with IE 11, the sendkeys are extremely slow. How do you fix this issue ?

My Environment:

  • Running IE 11.103
11条回答
  •  不思量自难忘°
    2020-12-10 17:48

    Release note v2.47.0.1:

    • Enabled fast failure for cookie manipulation in IE. The refactor of cookie handling for the IE driver introduces an incompatibility with the 64-bit IE driver and IE 10 and 11 running on 64-bit Windows. As is the case with sending keystrokes and creating screenshots, a Windows hook procedure is now used for getting and settingcookies in IE. That means that in IE 10 and 11 on 64-bit Windows, where the content rendering process is still 32-bit, you must use the 32-bit IEDriverServer.exe in order to manipulate cookies. This commit will now cause exceptions to be thrown if you attempt to set or get cookies using the 64-bit driver against a 32-bit version of IE (or vice versa), but in particular, this will affect users who mistakenly try to use the 64-bit executable with IE 10 or 11 in 64-bit Windows.

    (https://raw.githubusercontent.com/SeleniumHQ/selenium/master/cpp/iedriverserver/CHANGELOG)

    So you should use 32 bit or the content rendering needs to be changed to 64 bit

提交回复
热议问题