We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7962b25 commit 7fb47f9Copy full SHA for 7fb47f9
README.md
@@ -65,8 +65,8 @@ Using it along with other interception methods:
65
```js
66
await page.setRequestInterception(true);
67
page.on('request', async request => {
68
- if (req.resourceType() === 'image') {
69
- req.abort();
+ if (request.resourceType() === 'image') {
+ request.abort();
70
} else {
71
await useProxy(request, 'socks4://127.0.0.1:1080');
72
}
0 commit comments