Try catch for WebElement