Interaction
bl keyboard
Type or insert text at the current focus (no selector)
Type or insert text at the current focus (no selector)
Usage
bl keyboard [OPTIONS]
bl keyboard <command>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 |
bl keyboard type
Type text at the current focus, generating key events
Usage
bl keyboard type <text> [OPTIONS]Arguments
| Argument | Description |
|---|---|
<text> | Text to type |
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 keyboard type "hello world"
# Type into the focused elementbl keyboard inserttext
Insert text at the current focus WITHOUT key events (IME/paste-like)
Usage
bl keyboard inserttext <text> [OPTIONS]Arguments
| Argument | Description |
|---|---|
<text> | Text to insert |
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 keyboard inserttext "héllo"
# Insert without keydown/keyup events