MuraliKola / robotframework-seleniumlibrary

Automatically exported from code.google.com/p/robotframework-seleniumlibrary
Apache License 2.0
1 stars 0 forks source link

Stop Selenium Server Not Working on IE8/Win7 #227

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

Original issue reported on code.google.com by oylhs...@gmail.com on 2 Feb 2012 at 7:07

GoogleCodeExporter commented 8 years ago
I downloaded selenium-server-standalone-2.20.0.jar 
(http://code.google.com/p/selenium/downloads/detail?name=selenium-server-standal
one-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.

Original comment by totzi...@gmail.com on 13 Mar 2012 at 8:36

GoogleCodeExporter commented 8 years ago
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.

Original comment by totzi...@gmail.com on 13 Mar 2012 at 9:05

GoogleCodeExporter commented 8 years ago
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.

Original comment by janne.t....@gmail.com on 22 Mar 2012 at 6:52