Replay a recorded browser session (HAR) with CSRF/token auto-correlation
replay_harReplay HAR files from browser DevTools, automatically refreshing dynamic values like CSRF tokens and nonces to ensure stale login flows and form submissions work correctly. Preview with dry run or skip static assets.
Instructions
Replays an HTTP Archive (.har) file exported from browser DevTools. Automatically detects dynamic values (CSRF tokens, nonces, hidden form fields, JSON token fields) in responses and substitutes fresh values into subsequent requests — so login flows, form submissions, and signed API calls work correctly even though the recorded values are stale. Static assets (images, CSS, JS) are skipped by default. Use 'substitutions' for values that never appear in responses (credentials, API keys). Use 'dry_run' to preview what would be sent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview what would be sent without making any requests. | |
| har_path | Yes | Absolute path to the exported .har file. | |
| skip_assets | No | Skip image, font, CSS, and JS requests (default true). | |
| substitutions | No | Static value replacements applied to every request before sending. Use for credentials and anything that never appears in a response body. e.g. { "recorded_password": "real_password" } |