CLI referenceBrowser state & emulation
bl geolocation
Override the browser geolocation
Override the browser geolocation
Usage
bl geolocation [latitude] [longitude] [flags]Flags
| Flag | Description |
|---|---|
--accuracy float | Accuracy in meters (default: 1) |
Global flags
| Flag | Description |
|---|---|
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
-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