C# Класс SePSXUnitTests.FakeRemoteWebElement

Description of FakeRemoteWebElement.
Наследование: OpenQA.Selenium.Remote.RemoteWebElement
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Init void
SetDipslayed void
SetElementsCollection void
SetEnabled void
SetInternalWebDriver void
SetSelected void
SetTagName void
SetText void

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

Метод Описание
Clear ( ) : void
Click ( ) : void
FakeRemoteWebElement ( RemoteWebDriver parentDriver, string id ) : System
FindElement ( By by ) : IWebElement
FindElementByClassName ( string className ) : IWebElement
FindElementByCssSelector ( string cssSelector ) : IWebElement
FindElementById ( string id ) : IWebElement
FindElementByLinkText ( string linkText ) : IWebElement
FindElementByName ( string name ) : IWebElement
FindElementByPartialLinkText ( string partialLinkText ) : IWebElement
FindElementByTagName ( string tagName ) : IWebElement
FindElementByXPath ( string xpath ) : IWebElement
FindElements ( By by ) : ReadOnlyCollection
FindElementsByClassName ( string className ) : ReadOnlyCollection
FindElementsByCssSelector ( string cssSelector ) : ReadOnlyCollection
FindElementsById ( string id ) : ReadOnlyCollection
FindElementsByLinkText ( string linkText ) : ReadOnlyCollection
FindElementsByName ( string name ) : ReadOnlyCollection
FindElementsByPartialLinkText ( string partialLinkText ) : ReadOnlyCollection
FindElementsByTagName ( string tagName ) : ReadOnlyCollection
FindElementsByXPath ( string xpath ) : ReadOnlyCollection
GetAttribute ( string attributeName ) : string
GetCssValue ( string propertyName ) : string
SendKeys ( string text ) : void
Submit ( ) : void

Приватные методы

Метод Описание
Init ( ) : void
SetDipslayed ( bool dipslayed ) : void
SetElementsCollection ( List listOfElements ) : void
SetEnabled ( bool enabled ) : void
SetInternalWebDriver ( string tagName, string text, bool enabled, bool displayed, bool selected ) : void
SetSelected ( bool selected ) : void
SetTagName ( string tagName ) : void
SetText ( string text ) : void

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

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

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

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

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

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

public FakeRemoteWebElement ( RemoteWebDriver parentDriver, string id ) : System
parentDriver OpenQA.Selenium.Remote.RemoteWebDriver
id string
Результат System

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

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

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

public FindElementByClassName ( string className ) : IWebElement
className string
Результат IWebElement

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

public FindElementByCssSelector ( string cssSelector ) : IWebElement
cssSelector string
Результат IWebElement

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

public FindElementById ( string id ) : IWebElement
id string
Результат IWebElement

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

public FindElementByLinkText ( string linkText ) : IWebElement
linkText string
Результат IWebElement

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

public FindElementByName ( string name ) : IWebElement
name string
Результат IWebElement

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

public FindElementByPartialLinkText ( string partialLinkText ) : IWebElement
partialLinkText string
Результат IWebElement

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

public FindElementByTagName ( string tagName ) : IWebElement
tagName string
Результат IWebElement

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

public FindElementByXPath ( string xpath ) : IWebElement
xpath string
Результат IWebElement

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

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

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

public FindElementsByClassName ( string className ) : ReadOnlyCollection
className string
Результат ReadOnlyCollection

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

public FindElementsByCssSelector ( string cssSelector ) : ReadOnlyCollection
cssSelector string
Результат ReadOnlyCollection

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

public FindElementsById ( string id ) : ReadOnlyCollection
id string
Результат ReadOnlyCollection

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

public FindElementsByLinkText ( string linkText ) : ReadOnlyCollection
linkText string
Результат ReadOnlyCollection

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

public FindElementsByName ( string name ) : ReadOnlyCollection
name string
Результат ReadOnlyCollection

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

public FindElementsByPartialLinkText ( string partialLinkText ) : ReadOnlyCollection
partialLinkText string
Результат ReadOnlyCollection

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

public FindElementsByTagName ( string tagName ) : ReadOnlyCollection
tagName string
Результат ReadOnlyCollection

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

public FindElementsByXPath ( string xpath ) : ReadOnlyCollection
xpath string
Результат 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