Emulation

bl geolocation

Override the browser geolocation

Override the browser geolocation

Usage

bl geolocation <latitude> <longitude> [OPTIONS]

Arguments

ArgumentDescription
&lt;latitude&gt;Latitude in decimal degrees
&lt;longitude&gt;Longitude in decimal degrees

Options

OptionDescription
--accuracy <value>Accuracy in meters (default: 1)
--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 geolocation 40.7128 -74.006
# Set location to New York City

bl geolocation 51.5074 -0.1278 --accuracy 10
# Set location to London with 10m accuracy

On this page