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
- Operating System Windows 10
- I'm using eclipse(Version: Neon Release (4.6.0)) with java 1.8
- selenium Webdriver 3.0.0
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):
In my environment: WIN 10, selenium 3.4, IE64 I set: Internet Options → Advanced → Security → ☑ Enable 64-bit processes for Enhanced Protected Mode
Better Solution:
Take note: I have reset all my IE settings before doing this solution, also in my first answer I was running a much older version of IE driver.
Download the latest IE driver - I have downloaded version 3.4 32 bit (the 64 bit was still slow when I was testing it) http://selenium-release.storage.googleapis.com/index.html?path=3.4/
You will need to change your IE settings 2.1 Go to Tools -> Internet Options -> Security. Set all zones to the same protected mode, enabled or disabled should not matter. Like this: http://seleniumquery.github.io/images/ie-driver-protected-mode-disable.png
Now in you code add this:
}
When I run this, it run very nicely. I have left my previous answer if this solution isn't working.
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.
After a lot of reading online and experimenting
I had to set my path to point to my web-driver Right Click on my Computer , then select "Advanced system settings", then click "Environment Variables", then select "Path" and click on edit. Now add the path to your IEDriverServer.exe, for example mine was "C:\eclipse\webdriver\IEDriverServer.exe". I would recommend restart your pc
You must run the 32 bit IE WEB driver http://selenium-release.storage.googleapis.com/index.html I downloaded 3.0
Now here is the piece of gold part that made the world of a difference to me. Set your IE to run as administrator. Right click on IE shortcut and select options, under Shortcut tab click on advanced button then check checkbox "run as administrator". Now Restart IE
When you open IE , then go to tools, then Internet options and then security tab. I have unchecked "Enable Protected Mode" on Local intranet and trusted sites. Restart IE
I used the following Desired Capabilities(I found this on the internet)
This worked in my environment please post what has worked for you
Take note: After this I was experimenting with the 64 bit driver. If I made the (InternetExplorerDriver.REQUIRE_WINDOW_FOCUS, true), then it works sort off. In junit the assertion fails but I was able to use send key on the first page.
Release note v2.47.0.1:
(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