browser_check
Checks or unchecks a checkbox, radio button, or switch with a real CDP click only when the state differs, then reads back and verifies the change.
Instructions
Checks (checked=True) or unchecks (checked=False) a checkbox, a radio button or a role=checkbox/switch with a real CDP click, only if the state differs; the state is read back afterwards (verified, changed). E.g. locator={"role": "checkbox", "name": "I agree"} or {"label": "Newsletter"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mark | No | ||
| tab_id | Yes | Your tab's id (from browser_new_tab, or a tab adopted with browser_adopt_tab). | |
| checked | No | ||
| locator | No | ||
| selector | No | ||
| timeout_ms | No |