Using Puppeteer New Version

Hello everyone
Is there a way to open puppeteer browser by using script like this:


And then using the puppeteer OB2 blocks ?

1 Like

Hello, no you cannot do that, sorry

Hello dear @Ruri
Thanks for your quick response.
if there is no a way please tell me how can i delete some enabled evasions that was entered by puppeteer.
Sincerely.

You’d have to change the code, there’s no other way to do that I think

Thanks
How do i set custom HTTP headers in puppeteer ?

@Ruri , @Pure
Please help me
When I try to load a website by puppeteer i get the CORS error, it does not matter using what version of puppeteer:
Access to XMLHttpRequest at ‘https://exapmle.io/error’ from origin ‘https://example2.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
How to handle this ?

I used the (–disable-web-security) and the CORS error was disappeared but this time I get the:
Failed to load resource: the server responded with a status of 419 ().
I am using (–Incognito) but the problem was not solved.
Is there anybody that know what is the problem ?

Consider that the version of puppeteer that is currently used by RuriLib is quite old, so it may be due to that.

@Ruri thanks for your attention
it does not independent on the version of puppeteer because when I use the latest version of puppeteer and extra-stealth-plugin I get the WebSocket error.

I use this script:

And get this error: