Classes
Methods
(async) run(selector, optionsopt) → {Promise.<void>}
Performs a single click on an element using a unified selector string.
Parameters:
| Name | Type | Attributes | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
selector | string | The selector string. CSS by default, or use a prefix. | |||||||||||
options | Object | <optional> | Options for the click action.Properties
|
Throws:
- Throws an error if the element is not found.
- Type
- Error
Returns:
- Type:
- Promise.<void>