dalekjs / dalek-browser-ie

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

IE doesn't close after tests #10

Open mrnosal opened 10 years ago

mrnosal commented 10 years ago

When using the IE driver, the browser instance remains running and the window remains open. Tests have completed, "Done, without errors" but the IE window remains. When running with the Chrome driver, the window is closed and the browser instance shut down. MS Win7, IE 9.0.26, dalek-browser-ie 0.0.4

asciidisco commented 10 years ago

Interesting, are you running Dalek with some special user permissions or so? Cause, what it does to close the Browser is actually to look up for all IE processes running, before it starts the browser, the it checks which processes are running, after the tests are done and then it tries to kill the processes that have been created in between.

I´ll try to reproduce the error in an VM with similar configuration like your system, do you use the 64bit or the 32bit Version of Windows 7?

cupito commented 10 years ago

I have the same issue with the IE. Configuration: Windows 7 SP1 64bit, IE 10.0.9200.16921, DalekJS CLI Tools Version: 0.0.4 DalekJS local install: 0.0.8

vweevers commented 10 years ago

Same issue here (test succeeds, browser remains open), with an additional error: "Error: PID is required for the kill operation"

I'm on Win7 64bit, using IE 11.0.9600.17105, Dalek CLI 0.0.4, Dalek local 0.0.8

vweevers commented 10 years ago

Could be because of l18n. Running this:

var ie = require('dalek-browser-ie');
ie._list(console.log.bind(console));

I see entries like

{ Imagenaam: 'chrome.exe',
  'Proces-id': '8184',
  Sessienaam: 'Console',
  'Sessienr.': '1',
  Geheugengebruik: '22.196 kB' }

I.e., the results are in Dutch, hence there's no PID field.