C# Класс WebDriverWrapper.SeleniumWebControls

Наследование: IControl
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Click ( ) : void
DesktopMouseClick ( ) : void
DesktopMouseClick ( int offsetX, int offsetY ) : void
DesktopMouseDrag ( int offsetX, int offsetY ) : void
ExecuteJavaScript ( Browser aBrowser, string JavaScript ) : object
GetAttributeFromNode ( string Attribute ) : string
GetChildren ( string Locator, LocatorType aLocatorType, ControlType aControlType ) : List
GetChildren ( string Locator, LocatorType aLocatorType, ControlType aControlType, ControlAccess access ) : List
HasChildren ( ) : bool
HasChildrenWithXpath ( string xpath ) : bool
Highlight ( Browser aBrowser ) : void
InjectJSInBrowser ( Browser aBrowser, string JavaScript ) : object
InnerHtml ( Browser aBrowser ) : string
OuterHtml ( Browser aBrowser ) : string
ScrollToElement ( ) : Point
SendKeys ( string text ) : void
Submit ( ) : void
WaitForChildren ( int maxTimeout ) : List
WaitForChildren ( string xpath, int maxTimeout ) : List

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

Метод Описание
SeleniumWebControls ( IWebElement aWebElement, ControlType aControlType ) : System
SeleniumWebControls ( IWebElement aWebElement, ControlType aControlType, ControlAccess access ) : System
WaitForVisible ( ) : void

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

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

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

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

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

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

public DesktopMouseClick ( int offsetX, int offsetY ) : void
offsetX int
offsetY int
Результат void

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

public DesktopMouseDrag ( int offsetX, int offsetY ) : void
offsetX int
offsetY int
Результат void

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

public ExecuteJavaScript ( Browser aBrowser, string JavaScript ) : object
aBrowser Browser
JavaScript string
Результат object

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

public GetAttributeFromNode ( string Attribute ) : string
Attribute string
Результат string

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

public GetChildren ( string Locator, LocatorType aLocatorType, ControlType aControlType ) : List
Locator string
aLocatorType LocatorType
aControlType ControlType
Результат List

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

public GetChildren ( string Locator, LocatorType aLocatorType, ControlType aControlType, ControlAccess access ) : List
Locator string
aLocatorType LocatorType
aControlType ControlType
access ControlAccess
Результат List

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

public HasChildren ( ) : bool
Результат bool

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

public HasChildrenWithXpath ( string xpath ) : bool
xpath string
Результат bool

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

public Highlight ( Browser aBrowser ) : void
aBrowser Browser
Результат void

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

public InjectJSInBrowser ( Browser aBrowser, string JavaScript ) : object
aBrowser Browser
JavaScript string
Результат object

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

public InnerHtml ( Browser aBrowser ) : string
aBrowser Browser
Результат string

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

public OuterHtml ( Browser aBrowser ) : string
aBrowser Browser
Результат string

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

public ScrollToElement ( ) : Point
Результат Point

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

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

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

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

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

public WaitForChildren ( int maxTimeout ) : List
maxTimeout int
Результат List

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

public WaitForChildren ( string xpath, int maxTimeout ) : List
xpath string
maxTimeout int
Результат List