AssertNoErrorsAsync
Описание: метод выполняет проверку отсутствия ошибок на странице и если ошибки присутствуют проверка будет считаться провальной
Синтаксис: AssertNoErrorsAsync(bool showListErrors = false, string[] listIgnored = null)
Возвращаемое значение: логическое (true или false)
Пример:
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: Full-featured EBook editor