Elements
bl uncheck
Uncheck a checkbox
Uncheck a checkbox
Usage
bl uncheck <selector> [OPTIONS]Arguments
| Argument | Description |
|---|---|
<selector> | CSS selector (or map ref) for the checkbox |
Options
| Option | Description |
|---|---|
--nth <value> | Select the 0-based Nth match of the selector (default: first). Mutually exclusive with --last. |
--last | Select the last match of the selector. Mutually exclusive with --nth. |
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
--session <value> | Run this command in the named session (env: BL_SESSION; default: "default") |
Global options
| Option | Description |
|---|---|
-v, --verbose | Enable debug logging |
Examples
bl uncheck "input[name=agree]"
# Uncheck the "agree" checkbox (idempotent)
bl uncheck "input[type=checkbox]" --last
# Uncheck the last matching box