Skip to content

Commit

Permalink
Added try catch for workaround problem with IE test
Browse files Browse the repository at this point in the history
  • Loading branch information
raczeja committed Nov 8, 2016
1 parent 42083ea commit 1f1c680
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public void LogOn()
}
catch (UnhandledAlertException)
{
Logger.Debug(CultureInfo.CurrentCulture, "catching UnhandledAlertException, Workaround problem with IE test");
this.Driver.SwitchTo().Alert().Accept();
this.Driver.GetElement(this.loginButton).Click();
}
Expand Down

0 comments on commit 1f1c680

Please sign in to comment.