SingleClick

Provides functionality to perform a single click action on elements or at specific positions in a web page. Uses Seleniums Action API.

Classes

SingleClick

Methods

(async) run(selector, optionsopt) → {Promise.<void>}

Performs a single click on an element using a unified selector string.
Parameters:
NameTypeAttributesDescription
selectorstringThe selector string. CSS by default, or use a prefix.
optionsObject<optional>
Options for the click action.
Properties
NameTypeAttributesDefaultDescription
waitForNavigationboolean<optional>
falseIf true, waits for page complete check.
Throws:
Throws an error if the element is not found.
Type
Error
Returns:
Type: 
Promise.<void>