C# Class Selenol.Controls.Control

The Control class represents logically structured and/or reusable group of page elements.
Inheritance: BaseHtmlElement, ISearchContext
Afficher le fichier Open project: pbakshy/Selenol

Méthodes publiques

Méthode Description
FindElement ( By @by ) : IWebElement

Finds the first T:OpenQA.Selenium.IWebElement using the given method.

FindElements ( By @by ) : ReadOnlyCollection

Finds all IWebElements within the current context using the given mechanism.

Méthodes protégées

Méthode Description
Control ( IWebElement webElement ) : System.Collections.ObjectModel

Initializes a new instance of the Control class.

Method Details

Control() protected méthode

Initializes a new instance of the Control class.
protected Control ( IWebElement webElement ) : System.Collections.ObjectModel
webElement IWebElement The web element.
Résultat System.Collections.ObjectModel

FindElement() public méthode

Finds the first T:OpenQA.Selenium.IWebElement using the given method.
If no element matches the criteria.
public FindElement ( By @by ) : IWebElement
@by OpenQA.Selenium.By
Résultat IWebElement

FindElements() public méthode

Finds all IWebElements within the current context using the given mechanism.
public FindElements ( By @by ) : ReadOnlyCollection
@by OpenQA.Selenium.By
Résultat ReadOnlyCollection