Skip to content

How it Works

Here’s a high-level overview of how the integration works:

  1. After the Astro configuration has resolved (astro:config:done), we validate the integration config and store it for later use
  2. Then, once the Astro build completes (astro:build:done), we consume the resolved config and:
    1. launch a local static file server (sirv) to serve the build output (if required)
    2. use Puppeteer to:
      1. launch a headless browser
      2. navigate to the pages you configured
      3. take screenshots of each one and save them to the filesystem as images