zshot/cliDownload

--emulate-memory

CLI
--emulate-memory
ValueGB

Sets navigator.deviceMemory and the Device-Memory client hint, in GB, rounded as Chrome rounds it: the nearest power of two, from 2 to 32 on desktop and from 1 to 8 under an Android user agent. 0 removes both, as on iOS Safari.

Default

Without this flag the page sees the host’s RAM, rounded the same way: a 16 GB host reports 16, and reports 8 under an Android user agent. Under a Safari or Firefox user agent it sees undefined.

Example

Run locally
zshot -f page.png \
  --emulate-memory 8 \
  https://zshot-cli.com/example_assets/zemu/