C# Class Selenol.Controls.Control

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

Public Methods

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

Protected Methods

Method Description
Control ( IWebElement webElement ) : System.Collections.ObjectModel

Initializes a new instance of the Control class.

Method Details

Control() protected method

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

FindElement() public method

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
return IWebElement

FindElements() public method

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