The first 3 commits are essentially copy/paste from commits to puppeteer-extra-plugin-stealth. For the sourceurl evasion I followed the pattern in this evasion, but had to take some liberties since it was dealing directly with the cdp client.
I also noticed that this commit was merged, but since that would require actually wrapping the browser instantiation, I didn't implement anything for that.
The first 3 commits are essentially copy/paste from commits to puppeteer-extra-plugin-stealth. For the
sourceurl
evasion I followed the pattern in this evasion, but had to take some liberties since it was dealing directly with the cdp client.I also noticed that this commit was merged, but since that would require actually wrapping the browser instantiation, I didn't implement anything for that.