C# Class HttpStatusCodeExample.ExtensionMethods

A class of extension methods for a WebDriver instance.
Afficher le fichier Open project: jimevans/WebDriverProxyExamples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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.
Résultat int

ClickNavigate() public static méthode

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.
Résultat int

ClickNavigate() public static méthode

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, .
Résultat int