C# Класс JavaScriptErrorsExample.ExtensionMethods

A class of extension methods for a WebDriver instance.
Показать файл Открыть проект

Открытые методы

Метод Описание
GetJavaScriptErrors ( this driver ) : IList

Gets the JavaScript errors on the current page.

GetJavaScriptErrors ( this driver, System.TimeSpan timeout ) : IList

Gets the JavaScript errors on the current page.

Приватные методы

Метод Описание
NavigateTo ( this driver, string targetUrl ) : void

Описание методов

GetJavaScriptErrors() публичный статический Метод

Gets the JavaScript errors on the current page.
public static GetJavaScriptErrors ( this driver ) : IList
driver this The driver used to retrieve the errors.
Результат IList

GetJavaScriptErrors() публичный статический Метод

Gets the JavaScript errors on the current page.
public static GetJavaScriptErrors ( this driver, System.TimeSpan timeout ) : IList
driver this The driver used to retrieve the errors.
timeout System.TimeSpan A structure for the time out of the retrieval.
Результат IList