we are using maven bases selenium project to test the GUI. After executing the test, IE is not able to close the selenium command window. we are using selenium.stop(); in @After method but it is not closing the command window even the test case is passed.
Hence more browser sessions are opening up and server is going out of resource and not responding for more time. Most of the test cases are failing because of this.
Since one week we are facing the issue. please help me in solving it.
Plain guess: Did you try
in your
@Aftersection?From the javadoc:
public void close()
Simulates the user clicking the “close” button in the titlebar of a popup window or tab.