SHARE
TWEET

Untitled

a guest Jan 12th, 2017 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. try{
  2.       driver.findElement(By.id("someid")).click();
  3.    }
  4.    catch(NoSuchElementException e)
  5.    {
  6.       System.out.println(e.getMessage());
  7.       driver.close();
  8.       driver.quit();
  9.    }
RAW Paste Data
Top