I’m trying to launch the application after driver.quit()
. It’s giving an exception as session ID is null
. I tried using driver.closeApp
and then driver.launchApp
to relaunch app, its giving exception as chrome not reachable
. Can any one help me in solving this issue!!
Driver.quit ->this keyword closes your driver aned delete the session
when to use it->
@AfterTest
public void teardown()
{
driver.quit
}