zshot/cliDownload

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.

Run locally
zshot -f hello.html https://zshot-cli.com/example_assets/hello_zshot/
The DOM after scripts run — note <body class="run">. zshot ≥ 0.16.0
Expected output
<!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.