Emulation
bl geolocation
Override the browser geolocation
Override the browser geolocation
Usage
bl geolocation <latitude> <longitude> [OPTIONS]Arguments
| Argument | Description |
|---|---|
<latitude> | Latitude in decimal degrees |
<longitude> | Longitude in decimal degrees |
Options
| Option | Description |
|---|---|
--accuracy <value> | Accuracy in meters (default: 1) |
--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 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