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 CDPRuntime.consoleAPICalled+Runtime.exceptionThrown. - content
- Agent-oriented composed content artifacts.
- network
- Deep network capture (
network.json). Aggregated from CDPNetwork.*events. Headers and credential-bearing URL components are redacted by default percrate::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.getOuterHTMLon the document node when a browser was used. - screenshot
- Full-page PNG via CDP
Page.captureScreenshot { format: png, captureBeyondViewport: true }. - storage
storageartifact: localStorage, sessionStorage, and IndexedDB database names captured viaRuntime.evaluate. Default off — sensitive data risk. Capped at 256 KiB of JSON; values truncated if the cap is exceeded.- text
document.body.innerTextartifact. Mechanical projection; not an interpretation, via CDPRuntime.evaluate.