Skip to main content

Module artifacts

Module artifacts 

Source
Expand description

Per-artifact extractors for the seven fetch artifacts. body is used by both the HTTP fast path and the browser path.

Modules§

body
Raw HTTP response body artifact (body.<ext>).
collectors
Async event subscribers for the browser fetch path.
console
Console event capture (console.json) via CDP Runtime.consoleAPICalled + Runtime.exceptionThrown.
content
Agent-oriented composed content artifacts.
network
Deep network capture (network.json). Aggregated from CDP Network.* events. Headers are redacted by default per crate::shared::redact. This module defines the on-wire schema and the redaction helper used by tests.
network_bodies
Opt-in network response body capture under network-bodies/.
observation
Agent-readable page snapshot (observation.json).
rendered_html
Post-JS DOM serialized to HTML, emitted via CDP DOM.getOuterHTML on the document node when a browser was used.
screenshot
Full-page PNG via CDP Page.captureScreenshot { format: png, captureBeyondViewport: true }.
storage
storage artifact: localStorage, sessionStorage, and IndexedDB database names captured via Runtime.evaluate. Default off — sensitive data risk. Capped at 256 KiB of JSON; values truncated if the cap is exceeded.
text
document.body.innerText artifact. Mechanical projection; not an interpretation, via CDP Runtime.evaluate.