AssertNoErrorsAsync
Description: the method checks for the absence of errors on the page and if errors are present, the check will be considered a failure
Syntax: AssertNoErrorsAsync(bool showListErrors = false, string[] listIgnored = null)
Return value: bool (true or false)
Example:
Tester tester = new Tester(browserForm);
...
await tester.TestBeginAsync();
await tester.GoToUrlAsync("https://somovstudio.github.io/test_error.html", 25);
await tester.AssertNoErrorsAsync(true, new string[1] { "stats.g.doubleclick.net" });
await tester.TestEndAsync();
Created with the Personal Edition of HelpNDoc: Easily create Web Help sites