Catch element exception appears as a step failure on the report
Chrys123 opened this issue · 0 comments
Chrys123 commented
public bool clickSubmitFurtherInformationButton(){
try{
this.driver.FindElement(this.submitFurtherInformationButton).Click();
return true;
}
catch (NoSuchElementException e){
return false;
}
}