Overview
Intercept, modify, or pause fetch/XHR in any page. Rule-based response overrides, cookie injection, and in-page live editing.
knock ā drive the browser directly from Chrome DevTools š Docs, screenshots, live demos: https://knock.racgoo.com A DevTools panel that drives the browser end-to-end. Intercept every fetch and XMLHttpRequest, rewrite them on the fly with rule pipelines, or pause a request and hand-edit it in a floating in-page editor. Record click / fill / submit flows and replay them deterministically ā then run the very same recordings headless in CI with knock-cli. All from one panel, with no test code to write. Runs entirely in your browser. No account, no telemetry, no server. INTERCEPT & MOCK ā Capture every fetch / XHR with method, URL, status, headers, body. The detail pane shows the post-modify state, and a DevTools-style filter bar (method:POST status:5xx -url:analytics) keeps the stream readable. ā Rule pipelines rewrite outgoing requests (headers / query / body / cookies ā Override or Replace) and synthesize responses (status / headers / body / delay / Set-Cookies). Rules run in order: earlier rules transform first, later rules see their output. ā Pause either side of a request and edit it live in a draggable in-page editor before letting it through. ā Real cookies through chrome.cookies ā actual jar state, not a fake header. ā Rule Sets bundle rules with domain allowlists. Export / import as JSON. RECORD & REPLAY ā Record click / fill / submit / change / navigate flows in the Automation tab, drop in expect assertions, and replay deterministically against the captured network ā or fire live against the real backend for auto-login / repeat-task helpers. ā Replay Storage re-plants the recording's cookies + localStorage + sessionStorage before each run, so logged-in flows replay logged-in. The recorded viewport is restored too. ā Secret fields (passwords, tokens) are masked in the panel and logs, and the export dialog warns before a recording carrying real credentials leaves your machine. RUN IN CI ā knock-cli (on npm) ā npx knock-cli ./tests replays the exact same recordings headless. Not a port: knock-cli bundles the extension's actual replay engine, so a recording that passes in the panel passes in CI ā same selectors, same network + storage replay. ā Built for pipelines: exit code 0/1/2, parallel workers across test sets, Chromium / Firefox / WebKit, and a config file that can spawn your dev server before the run. ā npx knock-cli serve connects the panel to a folder in your repo ā record in the browser, and every recording lands on disk as a reviewable JSON file. ā Impact analysis: knock-cli impact api/users ./tests lists which recordings touch an API you're about to change ā before you break them. ā Get started: https://knock.racgoo.com/docs/getting-started
5 out of 52 ratings
Details
- Version1.9.1
- UpdatedJuly 15, 2026
- Size776KiB
- LanguagesEnglish (United States)
- DeveloperWebsite
Email
lhsung98@naver.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
knock has disclosed the following information regarding the collection and usage of your data. More detailed information can be found in the developer's privacy policy.
knock handles the following:
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes
Support
For help with questions, suggestions, or problems, please open this page on your desktop browser