gajus / puppeteer-proxy

Proxies Puppeteer Page requests.
Other
197 stars 24 forks source link

page._client is a method instead of attribute with puppeteer 14 #24

Open natpacket opened 1 year ago

natpacket commented 1 year ago

here puppeteer-proxy/src/routines/getAllCookies.js: we can see the code:

return page._client.send('Network.getAllCookies');

but there is no longer _client attribute with puppeteer 14.0.0. so,i do this:

return page._client().send('Network.getAllCookies');

it can be running well