attentionThis feature has known issues. For details, refer to #471 and #475.
This feature has known issues. For details, refer to #471 and #475.
Use this method to select an input checkbox.
page .goto('https://test.k6.io/browser.php') .then(() => { const checkbox = page.locator("#checkbox1"); checkbox.check(); });