C# Class JavaScriptErrorsExample.ExtensionMethods

A class of extension methods for a WebDriver instance.
ファイルを表示 Open project: jimevans/WebDriverProxyExamples

Public Methods

Method Description
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.

Private Methods

Method Description
NavigateTo ( this driver, string targetUrl ) : void

Method Details

GetJavaScriptErrors() public static method

Gets the JavaScript errors on the current page.
public static GetJavaScriptErrors ( this driver ) : IList
driver this The driver used to retrieve the errors.
return IList

GetJavaScriptErrors() public static method

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.
return IList