No results for

Powered byAlgolia

click([options])

warning

See issue #471 and issue #474 for details of known issues.

Mouse click on the chosen element.

ParameterTypeDefaultDescription
options
objectnull

Example

page.goto("https://test.k6.io/browser.php");
const button = page.locator("#counter-button");
button.click();