C# Class Selenol.Elements.ContainerElement

Inheritance: BaseHtmlElement, ISearchContext
Mostrar archivo Open project: pbakshy/Selenol

Public Methods

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

Initializes a new instance of the ContainerElement class.

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.

Method Details

ContainerElement() public method

Initializes a new instance of the ContainerElement class.
public ContainerElement ( 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 The locating mechanism to use.
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 The locating mechanism to use.
return ReadOnlyCollection