gajus / puppeteer-proxy

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

fix: Update getAllCookie.js #25

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

ciricc commented 1 week ago

Fixes https://github.com/gajus/puppeteer-proxy/issues/24, https://github.com/gajus/puppeteer-proxy/issues/23 and https://github.com/gajus/puppeteer-proxy/issues/26