Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

sendKeys is very slow in IE 11 #1506

Closed
santhoshchunchu opened this issue Nov 7, 2014 · 18 comments
Closed

sendKeys is very slow in IE 11 #1506

santhoshchunchu opened this issue Nov 7, 2014 · 18 comments

Comments

@santhoshchunchu
Copy link

Hi All,

FYI recently my IE got upgraded to IE 11 and when I recently run the scripts it is executing very very slow.... Do anyone have faced the same problem. Do let me know.

The login page is taking nearly 2 sec for each character to enter in the text field.

Thanks,
Santhosh Chunchu

@juliemr
Copy link
Member

juliemr commented Nov 7, 2014

Looks like this is the same issue: https://code.google.com/p/selenium/issues/detail?id=5116

Summary: It's probably the 64bit version of IEDriver.

We should consider changing webdriver-manager to only use the 32 bit version since this makes 64 pretty unusable.

@smahalingam
Copy link

@juliemr - Changed to 32 bit IE driver and all works good. Thanks

@dpaquette
Copy link

How do you change to the 32 bit IE Driver when using Webdriver-manager?

@codecadwallader
Copy link

@dpaquette I've been struggling with the same this week, here's what I found:

The Webdriver-manager asks Node to provide the system architecture through an 'os.arch()' call, and chooses the URL accordingly. https://github.com/angular/protractor/blob/master/bin/webdriver-manager#L73

There isn't currently a way to pass in a configuration, but there's an open feature request here #1297

Node actually doesn't report the OS architecture on 'os.arch()', but whether or not the current process is 32-bit or 64-bit: nodejs/node-v0.x-archive#2862 I've confirmed it using Node v0.12.5, but this issue is three years old so it's apparently been that way for awhile.

As a workaround, if you're running the 32-bit version of node instead of the 64-bit version, then the Webdriver-manager will resolve the 32-bit version of the IE driver. Note: On Windows you may want to make sure your path is pointing to the correct 32-bit version of node (e.g. c:\program files (x86)\nodejs).

Hope it helps.

@dpaquette
Copy link

@codecadwallader I managed to get another workaround working for me yesterday. I manually downloaded the 32-bit copy of IEWebDriverServer and overwrote the file in C:\Users\myusername\AppData\Roaming\npm\node_modules\protractor\selenium. The catch was that I had to download the same version as the one that was previously installed (in my case 2.45).

@Moutaz99
Copy link

Download the 32bit IEdriver and use it insted of the 64 bit

@yogeshgadge
Copy link

Even 32bit IEDriver gets slower.

@cs-NET
Copy link

cs-NET commented May 13, 2016

Just to help anyone else that ends up here after hours of searching.

Install 32bit IE Driver

webdriver-manager update --ie32

Start Protractor with the 32bit IE Driver

(if you are running 64bit os you must add switch or it will try to load 64bit driver)

webdriver-manager start --ie32

@juliemr
Copy link
Member

juliemr commented Jul 14, 2016

@cnishina do you think we should default to the ie32 for webdriver-manager?

@AdamRzymowski
Copy link

This still seems to be an issue. I tried the webdriver-manager start --32 and it is still very slow.

@yashhy
Copy link

yashhy commented Nov 16, 2016

32Bit IE driver solves this problem.
For those who are searching for the drivers, link is here

Use in protractor conf like below:
exports.config = {
seleniumArgs: ['-Dwebdriver.ie.driver=node_modules/protractor/selenium/IEDriverServer.exe']
}

@cnishina
Copy link
Contributor

After responding to #1999, I think we should just default to ie32 and not bother with the x64 version of IEDriver.

So the following will by default download / start the 32-bit version:

webdriver-manager update --ie
webdriver-manager update --ie32
webdriver-manager start --ie
webdriver-manager start --ie32

If someone really needs the x64 version, we'll have add a flag:

webdriver-manager update --ie64
webdriver-manager start --ie64

In the help option, I'll also add that the x64 version has been known to be flaky.

@cnishina
Copy link
Contributor

Closing this issue in favor of: angular/webdriver-manager#180

@santhoshchunchu
Copy link
Author

Finally after 2 years it got closed :) Happy holiday to all :)

@kalrajyoti
Copy link

i used ie32 driver and my login page is in frame ,when i tried to run the script ,it is unable to locate my frame using ie32 driver
and same script is working fine with ie64 and its easily handling frame.(but it is type slow as character wise)

Any solution?

@harsha509
Copy link

harsha509 commented May 28, 2017 via email

@smajazayeri
Copy link

smajazayeri commented Aug 11, 2017

The same issue for me. The --ie32 runs IEDriver 32, but it doesn't resolve the issue of low performance of sendKeys(). Any thoughts?

image

@laffuste
Copy link

Another option:

capabilities: {
    'browserName': 'internet explorer',
    'requireWindowFocus': true,
    'ignoreProtectedModeSettings': true
},

OR

multiCapabilities: [
     {
        'browserName': 'internet explorer',
         'requireWindowFocus': true,
         'ignoreProtectedModeSettings': true
      },
      {
        //  ...
      }
],

Source.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests