Свойство | Тип | Описание | |
---|---|---|---|
BrowserElement | System | ||
CreateActionsSequence | OpenQA.Selenium.Interactions.Actions | ||
GetParentLocator | |||
GetWebElement | IWebElement | ||
GetWebElement | IWebElement | ||
ISearchContext | IWebElement | ||
ISearchContext | ReadOnlyCollection |
||
IWebElement | string | ||
IWebElement | void | ||
IWebElement | void | ||
IsAvailable | bool | ||
IsReady | bool | ||
SafeGetDOMRoot | IDOMRoot |
Метод | Описание | |
---|---|---|
BrowserElement ( |
Initializes a new instance of BrowserElement given its container, a 'By' filter a selector and description
|
|
BrowserElement ( |
Initialized a new instance of BrowserElement given its container, a specific 'By' filter and description
|
|
Click ( ) : void | ||
DoubleClick ( ) : void |
Performs a double-click on the element
|
|
DragAndDrop ( |
Drags the current element onto the target element
|
|
GetAttribute ( string attributeName ) : string | ||
GetParent ( string description ) : |
Returns the immediate parent element containing the current element
|
|
Hover ( ) : void |
Hovers the mouse over the element
|
|
WaitToDisappear ( int seconds = DefaultWaitTimeout ) : void |
Waits for the current element to disappear. That is, either become invisible or completely removed from the DOM
|
Метод | Описание | |
---|---|---|
Activate ( ) : void | ||
BrowserElement ( |
Copy constructor
|
|
BrowserElement ( |
Constructs a new instance of BrowserElement by copying its properties, except of its description from another element
|
|
GetSearchContext ( ) : ISearchContext |
Метод | Описание | |
---|---|---|
BrowserElement ( IDOMRoot domRoot, Func |
||
CreateActionsSequence ( ) : OpenQA.Selenium.Interactions.Actions | ||
GetParentLocator ( ) : |
||
GetWebElement ( ) : IWebElement | ||
GetWebElement ( |
||
ISearchContext ( |
||
ISearchContext ( |
||
IWebElement ( string propertyName ) : string | ||
IWebElement ( ) : void | ||
IWebElement ( string text ) : void | ||
IsAvailable ( IWebElement el ) : bool | ||
IsReady ( ) : bool | ||
SafeGetDOMRoot ( |
protected BrowserElement ( |
||
otherElement | Other object from which to copy the properties into the new object | |
Результат | System |
protected BrowserElement ( |
||
otherElement | The existing element to copy its properties from | |
description | string | The new description to use for the new object |
Результат | System |
public BrowserElement ( |
||
container | The container that contains the relevant element. Typically this is a |
|
by | A filter mechanism used to filter the matching elements | |
selector | Func |
A delegate that is used to select the sepecific element from the filtered elements |
description | string | The description of the new element |
Результат | System |
public BrowserElement ( |
||
container | The container that contains the relevant element. Typically this is a |
|
by | A filter mechanism used to find the element. If multiple elements match the filter, the first one is used | |
description | string | The description of the new element |
Результат | System |
public DragAndDrop ( |
||
target | The target element to drop the current element onto | |
Результат | void |
public GetAttribute ( string attributeName ) : string | ||
attributeName | string | |
Результат | string |
public GetParent ( string description ) : |
||
description | string | The description to give to the parent element |
Результат |
protected GetSearchContext ( ) : ISearchContext | ||
Результат | ISearchContext |
public WaitToDisappear ( int seconds = DefaultWaitTimeout ) : void | ||
seconds | int | Timeout in seconds to wait for the element to disappear |
Результат | void |