I\'m running one of my scripts on IE 11
browser with Selenium 2.43.1
when the script types in text field using following:
element.s
This sped it up for me a little bit. IEDriverServer 2.53.1
InternetExplorerOptions options = new InternetExplorerOptions();
options.IntroduceInstabilityByIgnoringProtectedModeSettings = true;
options.RequireWindowFocus = true;
driver = new InternetExplorerDriver(options);
I also had the same issue way back. You can try out by
Internet Options -> Connections -> LAN Settings -> Untick Automatically detect settings.
Hope this helps.
This probably is an issue with the machine you are running the test on. If you experience general lag with the computer, then this will happen.
Is there an alternate way to speed up typing?
Sure, you can create a custom method to clear the text, then use JavaScript to fill the field. (mind you that doing this, might not be able to work with things like "typeahead" and "suggestions as you type")
For tests running on IE11 64bit, setting the NATIVE_EVENTS
capability to false
worked for me.
Without it, using the 64bit driver server 3.0 was extremely slow as reported.
The 32bit 3.0 driver server swallowed some of the chars it was supposed to send (e.g. "FluentLenium" became "FlntLnum").
The following resolved both problems.
DesiredCapabilities capabilities = DesiredCapabilities.internetExplorer();
capabilities.setCapability(InternetExplorerDriver.NATIVE_EVENTS, false);
WebDriver driver = new InternetExplorerDriver(capabilities);
I am not sure whether this has additional side effects.
For me it worked with 64bit version of IEDriverServer. I added the property requireWindowFocus with "true" value:
DesiredCapabilities capabilities = DesiredCapabilities.internetExplorer();
capabilities.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS, true);
...
capabilities.setCapability("requireWindowFocus", true);
WebDriver driver = new InternetExplorerDriver(capabilities);
I'm using version 2.47 of Selenium/IE Driver
I also faced the same issue with IE11 on Windows x64 bit. I was using 64bit version of IEDriverServer.exe (IE driver-3.7.0 with selenium-3.7.0).
After I changed to 32bit version of IEDriverServer.exe, it solved the issue