JavaScript rendering crawler

SpiderHead can render pages in a headless Chrome and keep the raw HTML and the rendered DOM side by side, so you see what only exists after scripts run. Rendering is optional and off by default.

What it does

Raw versus rendered

render-check loads one URL twice: as the server sends it, and in a browser after scripts run. It compares titles, canonicals, links and content that appear or disappear. In a crawl, set rendering.mode to js and SpiderHead renders selectively: by default it probes a few URLs per template pattern and renders the patterns that differ, up to 30 pages.

  • Rendered routes are recorded as evidence; crawling them is a separate opt-in (rendering.rendered_links.crawl)
  • Lab timings from one run, not field Core Web Vitals

Only when you need it

The browser is optional, so the core crawl needs none. SpiderHead drives the Chrome already installed on your machine over the DevTools protocol and downloads no browser.

  • export SPIDERHEAD_CHROME="/path/to/chrome"
  • spiderhead render-check --url https://example.com

Three steps, one saved scan

  1. Fetch the raw HTML and the rendered DOM

    render-check loads the URL twice: once as the server sends it, and once in Chrome after scripts run.

  2. Compare what only appears after scripts

    The comparison counts words and links that exist only after rendering, and flags an empty app shell such as a bare #root or #app mount point.

  3. Read console errors and lab timings

    With rendering.artifacts.console_errors switched on (it is off by default), script errors logged during the render are reported as JS_CONSOLE_ERRORS. Timings come from one local run and are lab data, not field Core Web Vitals.

Checks in this feature

CheckWhat it meansSeverityEvidence
JS_CONSOLE_ERRORSThe page logged JavaScript errors in the browser console while it was renderedImportantConsole error text from the rendered run
ROBOTS_BLOCKS_RESOURCESrobots.txt blocks .js, .css or _next/static files that rendering needsTiprobots.txt rule that matches the resource path (from robots-check)
AJAX_CRAWLING_SCHEME_URLA page or a link it carries uses the deprecated #! or _escaped_fragment_ AJAX schemeTipThe URL that uses the scheme
Also in the check registry
RENDER_RESOURCE_BLOCKEDNOINDEX_ONLY_IN_RAW_HTMLCANONICAL_ONLY_IN_RENDERED_HTMLPAGE_TITLE_ONLY_IN_RENDERED_HTML

One command

bash
spiderhead render-check --url https://example.com/

Install first: installation guide. Every command also runs as an MCP tool for AI agents.

What you need

  • A page URL for render-check
  • A locally installed Chrome (SPIDERHEAD_CHROME overrides the lookup)
  • For a rendered crawl: a crawl config with rendering.mode set to js

Limits

  • Timings come from one local run and are not field data
  • The browser refuses to run as root
  • Page actions are declarative (click, scroll, wait, extract); you cannot supply your own JavaScript
  • networkidle may never occur on sites with persistent connections

Questions

Do I need a browser for every crawl?
No. The core crawl works without one. A locally installed Chrome is needed only for render-check and rendered crawls; nothing is downloaded.
Does a render check change anything on my site?
No. It loads the URL and its resources the way a browser does and edits nothing. Page actions such as clicks run only if you configure them in a crawl.
Are the speed numbers Core Web Vitals?
No. LCP, CLS and timings come from one run on one machine. They are lab measurements, not field data from the Chrome UX Report.
Can I render as a phone?
Yes. Add --viewport mobile to use the built-in smartphone identity and viewport. Use --user-agent for a custom identity.
What if the page never finishes loading?
Use --wait domcontentloaded. The default is load. networkidle can never occur on sites with persistent connections, so avoid it there.

Try it on your own site