--storage-safari-profile
- CLI
- --storage-safari-profile
- REST
- CLI only
Seeds the render with the cookies and localStorage of a signed-in Safari profile, which ZShot never writes.
Bare --storage-safari-profile finds the default profile on macOS and reads nothing on Linux; give =PATH on Linux. --storage-safari-profile=PATH reads that profile directory and fails if it is absent or unreadable. Merges under --storage: the profile is the base, the file wins.
Only the target URL’s registrable domain is seeded, plus the origins --navigator-credential-origin allows. On localhost or an IP address, each port is its own app, so localStorage is seeded only for the exact origin, scheme and port included; cookies, which a browser sends to every port, are seeded for the host. On macOS it needs Full Disk Access for the app that runs ZShot.
Example
zshot -f pipeline.png \
--storage-safari-profile \
https://zshot-cli.com/example_assets/zrm/