SeleniumLibrary icon indicating copy to clipboard operation
SeleniumLibrary copied to clipboard

close all browsers doesn't work

Open wingking opened this issue 14 years ago • 4 comments

Open Browser    http://10.10.0.18    ie
Open Browser    http://10.10.0.16    ie
Close All Browsers

only close the first ie. and raise : WindowsError: [Error 5]

xp sp3, ie8, se2 v1.0.1 the FF is fine.

the below code also fail: Open Browser http://10.10.0.18 ie a Open Browser http://10.10.0.16 ie b Switch Browser a Close Browser Switch Browser b Close Browser

wingking avatar Sep 13 '12 03:09 wingking

I don't believe webdriver for IE even supports multiple browsers. You might want to verify with the selenium team if multiple browser in IE is even supported.

Cheers, Jeremy

On Sep 13, 2012, at 11:41, wingking [email protected] wrote:

Open Browser http://10.10.0.18 ie Open Browser http://10.10.0.16 ie Close All Browsers only close the first ie. and raise : WindowsError: [Error 5]

xp sp3, ie8, se2 v1.0.1 the FF is fine.

the below code also fail: Open Browser http://10.10.0.18 ie a Open Browser http://10.10.0.16 ie b Switch Browser a Close Browser Switch Browser b Close Browser

— Reply to this email directly or view it on GitHub.

j1z0 avatar Sep 13 '12 09:09 j1z0

I do not know about multiple browser support for IE, but please see Issue #111 about catching WindowsError with selenium itself.

elizaleong avatar Sep 14 '12 20:09 elizaleong

this is a selenium bug, http://code.google.com/p/selenium/issues/detail?id=4310

adwu73 avatar Sep 18 '12 13:09 adwu73

Agreed, this is a Selenium bug (that has been fixed in source but not yet made part of a release). Hopefully we'll see a point release from Selenium team soon.

rtomac avatar Sep 19 '12 14:09 rtomac