Firefox and chrome is working fine but with IE 11, the sendkeys are extremely slow. How do you fix this issue ?
My Environment:
I have been working on IE11 with selenium library: selenium-server-standalone-3.141.59.jar and have following finding:
On Window 10 64 bit version IE 11 version 11.431.16299, updated version 11.0.65(KB4103765) It works fine with IEDriverServer.exe (64 bit version) no need extra setting on capability. Key in period is acceptable(for 6 characters within 1 sec)
On Window 10 64 bit version IE 11 version 11.15.16299.0 updated version 11.0.47 KB4040685 It works very slow with IEDriverServer.exe (64 bit version) To enter a 6 characters string, every character needs 3-4 secs to completed. To solve the problem, the following coding I tested works fine for me.
InternetExplorerOptions options = new InternetExplorerOptions();
options.setCapability(InternetExplorerDriver.REQUIRE_WINDOW_FOCUS, true);
On Window 7 Professional 32 bit version IE 11 version 11.0.9600.18499, updated version 11.0.36(KB3191495) It works fine with IEDriverServer.exe (32 bit version). Keyin period is acceptable.(6 characters within a sec) No extra setting is needed
In IE11 Typing data in text fields(send key) is too slow while replaying tests.
Following is systems information. IEDriver – 64 bit, OS – windows7 64 bit, IE10 – 64 bit
Note: I face the same issue and my issue was resolved to re-install IEDriver – 32 bit, it is working fine with 32-bit IE driver.
I changed to IEDriver 32 bit (from 64 bits) solved this problem for me. IE 11, Windows 7, Selenium 3.4.
A note for ruby
and webdiriver
version 3+
The documentation has examples with native_events
IE parameter, even it is written in console at the start point.
Actually the right parameter name is nativeEvent
.
Set nativeEvent = false
,
and webdriver will use fast JS instead off a slow native click simulation.
Posting this solution for developers using Python 3.6 and Selenium 3.14.
In my case the relevant IE settings are locked down by group policy so any solution requiring changes to IE settings is unworkable.
There was only 1 option setting that needed to be changed to fix slow sendkeys in my specific environment (Windows 7 x64, IE 11.0.9600 locked down, Python 3.6, Selenium 3.14.1):
from selenium import webdriver
from selenium.webdriver.ie.options import Options
opts = Options()
opts.require_window_focus = True
driver = webdriver.Ie(options=opts)
In my environment: WIN 10, selenium 3.4, IE64 I set: Internet Options → Advanced → Security → ☑ Enable 64-bit processes for Enhanced Protected Mode