@ After ( order = ORDER_20 , value = { "@mobile or @web" } ) public void seleniumTeardown ( ) { if ( commonspec . getDriver ( ) != null ) { commonspec . getLogger ( ) . debug ( "Shutdown Selenium client" ) ; commonspec . getDriver ( ) . close ( ) ; commonspec . getDriver ( ) . quit ( ) ; } }
Close selenium web driver .