testproject-io/csharp-opensdk

Catch element exception appears as a step failure on the report

Chrys123 opened this issue · 0 comments

public bool clickSubmitFurtherInformationButton(){
try{
this.driver.FindElement(this.submitFurtherInformationButton).Click();
return true;
}
catch (NoSuchElementException e){
return false;
}
}