DropDownWrapper class
Behaves the same as ValueWrapper + select(). Represents HTML Select
Extends ValueWrapper.
Instance Members
Section titled “Instance Members”select
Section titled “select”Select option or options from a drop down
Examples
Section titled “Examples”// Select multiple values based on array of values providedawait dropDown('Vehicle:').select(['Car','Van'])// Select multiple values based on array if indices providedawait dropDown('Vehicle:').select({index : [0,1]})Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
values | Array | value(s) to be selected |
Returns
Section titled “Returns”This API does not return any values.
elements
Section titled “elements”Overrides ElementWrapper#elements, but for DropDown elements.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
retryInterval | number | Retry Interval in milliseconds (defaults to global settings). |
retryTimeout | number | Retry Timeout in milliseconds (defaults to global settings). |
Returns
Section titled “Returns”| Type | Description |
|---|---|
| Array<DropDown> | Array of all elements matching the selector. |