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

ArgumentDescription
&lt;selector&gt;CSS selector for the form element

Options

OptionDescription
--headlessHide browser window (visible by default)
--jsonOutput as JSON
--session <value>Run this command in the named session (env: BL_SESSION; default: "default")

Global options

OptionDescription
-v, --verboseEnable debug logging

Examples

bl value "input[name=email]"
# Print the current value of the email input

On this page