Skip to content

Instantly share code, notes, and snippets.

@muditlambda
Last active October 30, 2019 11:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save muditlambda/19099a143a2fc2b29060a79be8296206 to your computer and use it in GitHub Desktop.
Save muditlambda/19099a143a2fc2b29060a79be8296206 to your computer and use it in GitHub Desktop.
// Closing the browser session after completing each test case
@AfterClass
public void tearDown() throws Exception {
if (driver != null) {
((JavascriptExecutor) driver).executeScript("lambda-status=" + status);
driver.quit();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment