robotframework / OldSeleniumLibrary

Deprecated Selenium library for Robot Framework
Apache License 2.0
13 stars 3 forks source link

Stop Selenium Server Not Working on IE8/Win7 #227

Closed spooning closed 9 years ago

spooning commented 9 years ago

Originally submitted to Google Code by oylhs... on 2 Feb 2012

Expected: Stop Selenium Server will close the server instance/window

Works when the browser is Firefox but not IE8.

Operating system: Windows 7. Python 2.7 Library 2.8.1 Win 32 installer

spooning commented 9 years ago

Originally submitted to Google Code by totziens on 13 Mar 2012

I downloaded selenium-server-standalone-2.20.0.jar (https://code.google.com/p/selenium/downloads/detail?name=selenium-server-standalone-2.20.0.jar&can=2&q=) and replace Selenium library 2.8.1's selenium-server.jar.

For Win7: I call jybot command with parameter "browser:iexploreproxy" For XP: I call jybot command with parameter "browser:iexplore"

It seems to overcome the browser closure issue I have faced in IE but not sure whether there's any side effect. I have other issue which is capturing black screen.

spooning commented 9 years ago

Originally submitted to Google Code by totziens on 13 Mar 2012

By the way, iexploreproxy is using singleWindow but iexplore is NOT using singleWindow. I came to this conclusion after going through some tedious testing with various combination settings. Unfortunately, I could not remember the exact problems of all the failed combinations. What I have now is something that works for me.

spooning commented 9 years ago

Originally submitted to Google Code by @yanne on 21 Mar 2012

At least earlier, the problem has been that the selenium server is unable to stop IE, if there are any other explorer processes (IE / file explorer) started at the same time.

In any case, this is not something that we can fix in the library, rather it always involves the interaction of selenium server with specific IE version.

If it is so that the closing works always with singleWindow mode, this should be documented.