C# Class CatsUnitTest.WebDriverExtension

Afficher le fichier Open project: edgecomputing/cats-hub-module

Méthodes publiques

Méthode Description
AutomateLogin ( this driver, string username, string password ) : void
WaitForHttpResponse ( this driver, By by ) : void
WaitForHttpResponse ( this driver, string regEx ) : void

An extension method for an IWebDriver instance that searches for an element (given a regular expression string)

Private Methods

Méthode Description
IsElementPresent ( OpenQA driver, By by ) : bool

Method Details

AutomateLogin() public static méthode

public static AutomateLogin ( this driver, string username, string password ) : void
driver this
username string
password string
Résultat void

WaitForHttpResponse() public static méthode

public static WaitForHttpResponse ( this driver, By by ) : void
driver this
by OpenQA.Selenium.By
Résultat void

WaitForHttpResponse() public static méthode

An extension method for an IWebDriver instance that searches for an element (given a regular expression string)
public static WaitForHttpResponse ( this driver, string regEx ) : void
driver this
regEx string The element to be searched for
Résultat void