Closed spooning closed 9 years ago
Originally submitted to Google Code by @yanne on 27 Aug 2012
Actually, the other browser may be the selenium controller window, it just cannot be seen when the actual browser is open. The inability to close the window is unfortunately a limitation in Selenium itself with Internet Explorer, and there's nothing we can do to fix it.
If I have understood correctly, this should not be a problem with the selenium2library: https://github.com/rtomac/robotframework-selenium2library
I am using Robot, specification: robot framework selenium library 2.8.1 Python 2.7 While running a single set of tests I am specifying close browser as follows, it closes the browser, but opens up an empty instance of a new browser. Here is my test case: Please note that I have suite level init file where I am specifying starting and stopping selenium Server as suite setup and tear down Test Suite level init, where I am specifying the suite related Setup and Teardown. and in testcase level here is my init content:
Suite initialization file contains Suite and test
level Setup and Teardown
* Settings * Resource common_resource.txt Resource admin_roles_imports.txt Resource admin_role_keywords.txt
Suite Setup Run Keywords Open MC ... Log on as User Admin
Suite Teardown Run Keywords Delete Created User ... Logout MC ... Close Browser