No results for

Powered byAlgolia

check([options])

attention

This feature has known issues. For details, refer to #471 and #475.

Use this method to select an input checkbox.

ParameterTypeDefaultDescription
options
objectnull

Example

page
.goto('https://test.k6.io/browser.php')
.then(() => {
const checkbox = page.locator("#checkbox1");
checkbox.check();
});