Setup
bl value
Get the current value of a form element
Get the current value of a form element
Usage
bl value <selector> [OPTIONS]Arguments
| Argument | Description |
|---|---|
<selector> | CSS selector for the form element |
Options
| Option | Description |
|---|---|
--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 value "input[name=email]"
# Print the current value of the email input