Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try{
- driver.findElement(By.id("someid")).click();
- }
- catch(NoSuchElementException e)
- {
- System.out.println(e.getMessage());
- driver.close();
- driver.quit();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement