C# Class HttpStatusCodeExample.ExtensionMethods

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

Public Methods

Method Description
ClickNavigate ( this element ) : int

Clicks on a link that is expected to navigate to a new URL, returning the HTTP status code of the navigation.

ClickNavigate ( this element, System.TimeSpan timeout ) : int

Clicks on a link that is expected to navigate to a new URL, returning the HTTP status code of the navigation.

ClickNavigate ( this element, System.TimeSpan timeout, bool printDebugInfo ) : int

Clicks on a link that is expected to navigate to a new URL, returning the HTTP status code of the navigation.

Private Methods

Method Description
NavigateTo ( this driver, string targetUrl ) : int
NavigateTo ( this driver, string targetUrl, System.TimeSpan timeout ) : int
NavigateTo ( this driver, string targetUrl, System.TimeSpan timeout, bool printDebugInfo ) : int

Method Details

ClickNavigate() public static method

Clicks on a link that is expected to navigate to a new URL, returning the HTTP status code of the navigation.
public static ClickNavigate ( this element ) : int
element this The element clicked on to perform the navigation.
return int

ClickNavigate() public static method

Clicks on a link that is expected to navigate to a new URL, returning the HTTP status code of the navigation.
public static ClickNavigate ( this element, System.TimeSpan timeout ) : int
element this The element clicked on to perform the navigation.
timeout System.TimeSpan A structure for the time out of the navigation.
return int

ClickNavigate() public static method

Clicks on a link that is expected to navigate to a new URL, returning the HTTP status code of the navigation.
public static ClickNavigate ( this element, System.TimeSpan timeout, bool printDebugInfo ) : int
element this The element clicked on to perform the navigation.
timeout System.TimeSpan A structure for the time out of the navigation.
printDebugInfo bool to print debugging information to the console; /// otherwise, .
return int