Rendered HTML
Requires a Free license
Capture the Hello from ZShot page’s rendered HTML — the DOM after its scripts run — saved to hello.html.
zshot -f hello.html https://zshot-cli.com/example_assets/hello_zshot/{
"url": "https://zshot-cli.com/example_assets/hello_zshot/",
"output_type": "html"
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/hello_zshot/","output_type":"html"}' \
-o hello.html<!DOCTYPE html><html lang="en"><head><base href="https://zshot-cli.com/example_assets/hello_zshot/">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Hello from ZShot!</title>
<link rel="icon" href="zshot-mark.svg" type="image/svg+xml">
<link rel="stylesheet" href="style.css">
</head>
<body class="run">
<main class="stage">
<img class="mark" src="zshot-mark.svg" alt="ZShot" width="160" height="160">
<h1 class="title">Hello, from ZShot!</h1>
</main>
<script src="script.js"></script>
</body></html>See HTML for the format.