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