Метод | Описание | |
---|---|---|
Add ( WebElement element ) : void |
Adds a web element
|
|
Attribute ( string attributeName, bool withAttributeOnly = true ) : Selenium.List |
Returns a list with the attribute for each element
|
|
ExecuteAsyncScript ( string script, int timeout = -1 ) : Selenium.List |
Execute an asynchronous piece of JavaScript against each web element and returns all the results;
|
|
ExecuteScript ( string script, bool ignoreNulls = true ) : Selenium.List |
Execute a piece of JavaScript against each web element and returns all the results;
|
|
First ( ) : WebElement |
Returns the first item
|
|
Last ( ) : WebElement |
Returns the last item
|
|
Text ( int offsetStart, int offsetEnd, bool trim = true ) : Selenium.List |
Returns a list containing the text for each element
|
|
Values ( object defaultValue = null, int offsetStart, int offsetEnd ) : Selenium.List |
Returns a list containing the text parsed to a number for each element
|
|
this ( int index ) : WebElement |
Get the WebElement at the provided index
|
Метод | Описание | |
---|---|---|
Add ( RemoteSession session, Selenium.List rawElements ) : void | ||
ComInterfaces ( ) : IEnumerator | ||
WebElements ( ) : Selenium.Core | ||
WebElements ( Selenium.List webElements ) : Selenium.Core | ||
WebElements ( RemoteSession session, Selenium.List rawElements ) : Selenium.Core | ||
this ( int index ) : WebElementComInterfaces._WebElements.Selenium.Core |
Get the WebElement at the provided index
|
public Attribute ( string attributeName, bool withAttributeOnly = true ) : Selenium.List | ||
attributeName | string | Attribute name |
withAttributeOnly | bool | True to skip elements without the attribute |
Результат | Selenium.List |
public ExecuteAsyncScript ( string script, int timeout = -1 ) : Selenium.List | ||
script | string | Javascript script |
timeout | int | |
Результат | Selenium.List |
public ExecuteScript ( string script, bool ignoreNulls = true ) : Selenium.List | ||
script | string | Javascript script |
ignoreNulls | bool | Null elements are skiped |
Результат | Selenium.List |
public Text ( int offsetStart, int offsetEnd, bool trim = true ) : Selenium.List | ||
offsetStart | int | |
offsetEnd | int | |
trim | bool | |
Результат | Selenium.List |
public Values ( object defaultValue = null, int offsetStart, int offsetEnd ) : Selenium.List | ||
defaultValue | object | Default value in case the text can't be parsed. |
offsetStart | int | |
offsetEnd | int | |
Результат | Selenium.List |
public this ( int index ) : WebElement | ||
index | int | Base zero index |
Результат | WebElement |