CLI referenceInteraction
bl press
Press a key on a specific element or the focused element
Press a key on a specific element or the focused element
Usage
bl press [key] [selector] [flags]Global flags
| Flag | Description |
|---|---|
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
-v, --verbose | Enable debug logging |
Examples
bl press Enter
# Press Enter on the currently focused element
bl press Enter "input[name=search]"
# Click to focus the input, then press Enter
bl press "Control+a"
# Select all