browserlane
CLI referenceBrowser state & emulation

bl geolocation

Override the browser geolocation

Override the browser geolocation

Usage

bl geolocation [latitude] [longitude] [flags]

Flags

FlagDescription
--accuracy floatAccuracy in meters (default: 1)

Global flags

FlagDescription
--headlessHide browser window (visible by default)
--jsonOutput as JSON
-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