dalekjs / dalek-browser-ie

[unmaintained] Internet Explorer Browser bindings for DalekJS
MIT License
9 stars 6 forks source link

.type() on IE 10 is (super) slow #15

Open ghguy opened 10 years ago

ghguy commented 10 years ago

Hi Sebastian, first great job on this tool!

We tested our test against IE 10 on Windows 8. For every type(), every stroke of key pause for like 2 seconds, is that normal? The same actions works fine on Windows 7 + IE 9. Any insight into working around this?

asciidisco commented 10 years ago

First of all thank you. I must admit, I haven't encountered that issue, but I haven`t tested the combination of Win 8 & IE 10 yet. As I need to make some changes to get IE 11 up & running, I will update the IEDriver.exe binary that is used to communicate with IE, I suppose the issue is in there.

ghguy commented 9 years ago

Someone who is good with protractor informed us that it is most slightly a web driver issue c.f. https://github.com/angular/protractor/issues/1506. Anyhow, if you can downgrade the ie driver to 32-bit for now, it might work.

lsolano commented 9 years ago

Hi Sebastian,

Same issue here (as @ghguy) :

For every type(), every stroke of key pause for like 2 seconds

OS: Windows 8.1 Pro N (x64) Node.js: v0.12.4 IE Version: 11 package.json:

{
  "name": "prodocTestsDalek",
  "description": "Testing...",
  "version": "0.0.1",
  "devDependencies": {
    "dalek-browser-chrome": "0.0.11",
    "dalek-browser-firefox": "0.0.6",
    "dalek-browser-ie": "0.0.5",
    "dalek-reporter-html": "0.0.4",
    "dalek-reporter-junit": "0.0.2",
    "dalekjs": "0.0.9",
    "grunt": "^0.4.5",
    "grunt-dalek": "^0.2.0",
    "minimist": "^1.1.3",
    "ninejs": "^0.1.7"
  }
}

Gruntfile.js:

module.exports = function(grunt) {
    'use strict';

    grunt.initConfig({
        dalek: {
            dist: {
                src: [
                    'test01.js',
                    'test02.js'
                    ]
            },
            options: {
                browser: [/*'chrome', */'ie'/*, 'firefox'*/],
                reporter: ['console', 'junit']
            }
        }
    });

    grunt.loadNpmTasks('grunt-dalek');

    /**
     * Loads tasks located in the tasks directory.
     */
    grunt.loadTasks('tasks');

    grunt.registerTask('default', ['dalek']);
};
codyfoss commented 8 years ago

Still an issue as of May 2016 with Win 10 + IE 11 (in VirtualBox).

Replacing lib/bin/IEDriverServer.exe with the latest 32 bit version (v2.53.0) from here fixed it for me.