attentionThis method has known issues. For details, refer to #471 and #474.
This method has known issues. For details, refer to #471 and #474.
Mouse click on the chosen element.
page .goto('https://test.k6.io/browser.php') .then(() => { const button = page.locator("#counter-button"); button.click(); });