C# Класс Selenol.Elements.ContainerElement

Наследование: BaseHtmlElement, ISearchContext
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

ContainerElement() публичный Метод

Initializes a new instance of the ContainerElement class.
public ContainerElement ( IWebElement webElement ) : System.Collections.ObjectModel
webElement IWebElement The web element.
Результат System.Collections.ObjectModel

FindElement() публичный Метод

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.
Результат IWebElement

FindElements() публичный Метод

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.
Результат ReadOnlyCollection