@ AfterSuite ( alwaysRun = true ) public static void closeSelenium ( ) { if ( driver != null ) { driver . quit ( ) ; driver = null ; } }
Close the driver . It ll close the browsers window and stop the selenium RC .