clickElement

The clickElement method clicks an element on a web page.

Syntax

clickElement( cssSelector )

Arguments

Argument Description
cssSelector (string) A CSS selector that identifies the element to click. If multiple elements match the selector, the first matching element is clicked.

Returns

(Boolean). Returns true on success, or false if the element was not found.