java method:
public
void
tearDown()
throws
Exception {
selenium.stop();
if
(seleniumServer !=
null
)
{
try
{
selenium.shutDownSeleniumServer();
seleniumServer .stop();
seleniumServer =
null
;
}
catch
(Exception e)
{
e.printStackTrace();
}
}
}
Browser Method
http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer
Hope it helps!!!
No comments:
Post a Comment