This post is to tell you all that how to avoid browser closing after the selenium script is completed. This is very simple to implement, just comment the selenium.stop(); function present inside @After.
@After
public void tearDown() throws Exception {
//selenium.stop();
}
Happy testing.
No comments:
Post a Comment