check
Toggles a checkbox or radio button by its visible label. If the real input is hidden, clicks the visible text instead, then returns the new state and any following content.
Instructions
Check or uncheck a checkbox or a radio button found by its label. When the real input is hidden, as in chip-style choices, it clicks the visible text instead, like a person would. Returns the new state and anything that followed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Visible label of the checkbox or the radio button, such as I agree to the terms. Part of the label is enough. | |
| checked | No | true to check it, false to uncheck it. Defaults to true. |