warningUse locator-based locator.check([options]) instead.
This method is used to select an input checkbox.
Parameter | Type | Default | Description |
---|---|---|---|
selector | string | '' | A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used. |
options | object | null |