mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
feat(interception): Implement request.respond method This patch implements a new Request.respond method. This allows users to fulfill the intercepted request with a hand-crafted response if they wish so. References #1020.
6.6 KiB
69x100px
6.6 KiB
69x100px
![](/github/puppeteer/raw/commit/670b0c35e454be6fc73d2a10ef8a86abd3bc11d7/test/golden/mock-binary-response.png)