Emulate geolocation
Requires a Standard license
Capture Where am I? — a page that maps whatever navigator.geolocation reports — with --emulate-geolocation set to an RFC 5870 geo URI, placing it at Wall Drug, South Dakota, saved to whereami.png.
zshot --emulate-geolocation "geo:43.993184992771454,-102.24168045794855" \
-x 880 -y 700 -f whereami.png --wait-for js:whereami:ready \
https://zshot-cli.com/example_assets/whereami/{
"url": "https://zshot-cli.com/example_assets/whereami/",
"output_type": "png",
"browser_width": 880,
"browser_height": 700,
"emulate_geolocation": "geo:43.993184992771454,-102.24168045794855",
"wait_for": "js:whereami:ready"
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/whereami/","output_type":"png","browser_width":880,"browser_height":700,"emulate_geolocation":"geo:43.993184992771454,-102.24168045794855","wait_for":"js:whereami:ready"}' \
-o whereami.png
See the browser flags for the other emulation options.