--navigator-session-archived
- CLI
- --navigator-session-archived
Includes the network activity of the whole --navigate session in every archive the request writes, HAR, WARC, WACZ or SQLite, as its output or beside it. Without it, an archive holds the page the session ends on, from its load through the render. Requires an archive.
Example
zshot -f chapter.png \
--warc session.warc.gz \
--navigator-session-archived \
--navigate "Open the first chapter" \
https://zshot-cli.com/example_assets/winnie-the-pooh/{
"url": "https://zshot-cli.com/example_assets/winnie-the-pooh/",
"output_type": "png",
"with_warc": true,
"navigate": "Open the first chapter",
"navigator_session_archived": true
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/winnie-the-pooh/","output_type":"png","with_warc":true,"navigate":"Open the first chapter","navigator_session_archived":true}' \
-D - -o chapter.png