Tuesday 26 February 2013

How to avoid the browser closing after selenium script completed

Hi,

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