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
My issue was with the driver architecture, and fixed it by downloading and using a 32bit one.
To switch to 32 bit here is what you have to do
Instantiate your InterExplorerWeDriver
class using
InternetExplorerDriverService
class with path to 32 bit driver
service.
InternetExplorerDriver ieDiver = new InternetExplorerDriver(“Path to the 32 bit Explorer driver”);
OR if using a builder:
System.setProperty(“webdriver.ie.driver”,“C:\\drivers\\IEDriverServer.exe”);
DesiredCapabilities ieCapabilities=DesiredCapabilities.internetExplorer();
ieCapabilities.setCapability(InternetExplorerDriver
.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS,true);
ieCapabilities.setCapability("requireWindowFocus", true);
File ie_temp=newFile(“C:\\Selenium\\IEDrivertemp”);
InternetExplorerDriverService.Builder
ies=newInternetExplorerDriverService.Builder();
ies.withExtractPath(ie_temp);
InternetExplorerDriverService service=ies.build();
WebDriver driver=newInternetExplorerDriver(service,ieCapabilities))
The thread that helped me resolve
http://forumsqa.com/question/typing-too-slow-in-text-fields-while-replaying-tests/
You can change to 32 bit version,it will be speed compare to 64 bit.
I had the same problem when using the 64bit version of IEDriverServer. Change to the 32bit and It worked fine.
Source: WebDriver and IE10 very slow input
to improve the speed for send Keys function, one can perform below steps:-
It will work smoothly.
For 64 bit WebDriver:
For 32 bit WebDriver:
strangely:
My setup: Windows 10, IE 11, everything 64 bit, Selenium 3.4
For IEServerDriver 3.14.0 this works for speeding up typing a bit.
WebDriver browser;
InternetExplorerOptions options = new InternetExplorerOptions();
options.disableNativeEvents();
options.requireWindowFocus();
browser = new InternetExplorerDriver(options);
DesiredCapabilities method is deprecated and options.IntroduceInstabilityByIgnoringProtectedModeSettings = true;
and options.RequireWindowFocus = true;
are no longer available.