C# Класс SePSX.WebElementDecorator

Description of WebElementDecorator.
Наследование: IWebElement, ISearchContext, IFindsByLinkText, IFindsById, IFindsByName, IFindsByTagName, IFindsByClassName, IFindsByXPath, IFindsByPartialLinkText, IFindsByCssSelector, IWrapsDriver, ILocatable
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

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

Метод Описание
Clear ( ) : void
Click ( ) : void
FindElement ( By by ) : IWebElement
FindElementByClassName ( string className ) : IWebElement

Finds the first element in the page that matches the CSS Class supplied

FindElementByCssSelector ( string cssSelector ) : IWebElement

Finds the first element matching the specified CSS selector.

FindElementById ( string id ) : IWebElement

Finds the first element in the page that matches the ID supplied

FindElementByLinkText ( string linkText ) : IWebElement

Finds the first of elements that match the link text supplied

FindElementByName ( string name ) : IWebElement

Finds the first of elements that match the name supplied

FindElementByPartialLinkText ( string partialLinkText ) : IWebElement

Finds the first of elements that match the part of the link text supplied

FindElementByTagName ( string tagName ) : IWebElement

Finds the first of elements that match the DOM Tag supplied

FindElementByXPath ( string xpath ) : IWebElement

Finds the first of elements that match the XPath supplied

FindElements ( By by ) : ReadOnlyCollection
FindElementsByClassName ( string className ) : ReadOnlyCollection

Finds a list of elements that match the class name supplied

FindElementsByCssSelector ( string cssSelector ) : ReadOnlyCollection

Finds all elements matching the specified CSS selector.

FindElementsById ( string id ) : ReadOnlyCollection

Finds the first element in the page that matches the ID supplied

FindElementsByLinkText ( string linkText ) : ReadOnlyCollection

Finds the first of elements that match the link text supplied

FindElementsByName ( string name ) : ReadOnlyCollection

Finds a list of elements that match the name supplied

FindElementsByPartialLinkText ( string partialLinkText ) : ReadOnlyCollection

Finds a list of elements that match the link text supplied

FindElementsByTagName ( string tagName ) : ReadOnlyCollection

Finds a list of elements that match the DOM Tag supplied

FindElementsByXPath ( string xpath ) : ReadOnlyCollection

Finds a list of elements that match the XPath supplied

GetAttribute ( string attributeName ) : string
GetCssValue ( string propertyName ) : string
SendKeys ( string text ) : void
Submit ( ) : void
WebElementDecorator ( RemoteWebElement realWebElement ) : System

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

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

public Clear ( ) : void
Результат void

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

public Click ( ) : void
Результат void

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

public FindElement ( By by ) : IWebElement
by OpenQA.Selenium.By
Результат IWebElement

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

Finds the first element in the page that matches the CSS Class supplied
public FindElementByClassName ( string className ) : IWebElement
className string CSS class name of the element on the page
Результат IWebElement

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

Finds the first element matching the specified CSS selector.
public FindElementByCssSelector ( string cssSelector ) : IWebElement
cssSelector string The id to match.
Результат IWebElement

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

Finds the first element in the page that matches the ID supplied
public FindElementById ( string id ) : IWebElement
id string ID of the element
Результат IWebElement

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

Finds the first of elements that match the link text supplied
public FindElementByLinkText ( string linkText ) : IWebElement
linkText string Link text of element
Результат IWebElement

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

Finds the first of elements that match the name supplied
public FindElementByName ( string name ) : IWebElement
name string Name of the element
Результат IWebElement

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

Finds the first of elements that match the part of the link text supplied
public FindElementByPartialLinkText ( string partialLinkText ) : IWebElement
partialLinkText string part of the link text
Результат IWebElement

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

Finds the first of elements that match the DOM Tag supplied
public FindElementByTagName ( string tagName ) : IWebElement
tagName string tag name of the element
Результат IWebElement

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

Finds the first of elements that match the XPath supplied
public FindElementByXPath ( string xpath ) : IWebElement
xpath string xpath to the element
Результат IWebElement

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

public FindElements ( By by ) : ReadOnlyCollection
by OpenQA.Selenium.By
Результат ReadOnlyCollection

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

Finds a list of elements that match the class name supplied
public FindElementsByClassName ( string className ) : ReadOnlyCollection
className string CSS class name of the elements on the page
Результат ReadOnlyCollection

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

Finds all elements matching the specified CSS selector.
public FindElementsByCssSelector ( string cssSelector ) : ReadOnlyCollection
cssSelector string The CSS selector to match.
Результат ReadOnlyCollection

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

Finds the first element in the page that matches the ID supplied
public FindElementsById ( string id ) : ReadOnlyCollection
id string ID of the Element
Результат ReadOnlyCollection

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

Finds the first of elements that match the link text supplied
public FindElementsByLinkText ( string linkText ) : ReadOnlyCollection
linkText string Link text of element
Результат ReadOnlyCollection

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

Finds a list of elements that match the name supplied
public FindElementsByName ( string name ) : ReadOnlyCollection
name string Name of element
Результат ReadOnlyCollection

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

Finds a list of elements that match the link text supplied
public FindElementsByPartialLinkText ( string partialLinkText ) : ReadOnlyCollection
partialLinkText string part of the link text
Результат ReadOnlyCollection

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

Finds a list of elements that match the DOM Tag supplied
public FindElementsByTagName ( string tagName ) : ReadOnlyCollection
tagName string DOM Tag of the element on the page
Результат ReadOnlyCollection

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

Finds a list of elements that match the XPath supplied
public FindElementsByXPath ( string xpath ) : ReadOnlyCollection
xpath string xpath to element on the page
Результат ReadOnlyCollection

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

public GetAttribute ( string attributeName ) : string
attributeName string
Результат string

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

public GetCssValue ( string propertyName ) : string
propertyName string
Результат string

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

public SendKeys ( string text ) : void
text string
Результат void

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

public Submit ( ) : void
Результат void

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

public WebElementDecorator ( RemoteWebElement realWebElement ) : System
realWebElement OpenQA.Selenium.Remote.RemoteWebElement
Результат System