Overriding request response for images
Hey,
I want to override request response image, how could I do that with puppeteer? Playwright has a neat field called from which I can include files from my local machine but with Puppeteer I can't make it work.
3 Replies
fascinating-indigo•3y ago
can you show your code?
and the website
@liutc
dependent-tan•3y ago
Hey, if I understand you correctly, here is how you can override image data with Puppeteer:
conscious-sapphireOP•3y ago
Thanks @yellott trying it now 🙂