kaliiiiiiiiii / undetected-playwright-python

Undetected Python version of the Playwright testing and automation library.
https://playwright.dev/python/
Apache License 2.0
196 stars 20 forks source link

[Feature request] NodeJS support #8

Open abu10512 opened 9 months ago

abu10512 commented 9 months ago

cloud you patch the Playwright on nodejs?plz .

steinerx commented 8 months ago

Hoping for a nodejs version of this. Thank you!

pim97 commented 3 months ago

I have looked into this and you don't need to do much for a nodejs version from my first impression. It's already patching the .js version for you in the python variant and you can copy-paste it into your node-modules and then it works. At least for me : - )

Biswajit96 commented 2 months ago

anyone using nodejs version ? i don't understand how to use the nodejs version.

nwebson commented 1 month ago

I just made some patch for puppeteer (node version) to fix this issue, to disable Runtime.Enable, so it prevents this leak, and works great for DataDome and Cloudflare. You can find it in my repo here: https://github.com/rebrowser/rebrowser-patches 🫡 Feel free to open new issue there, I will be happy to take a look and assist.

Biswajit96 commented 1 month ago

I just made some patch for puppeteer (node version) to fix this issue, to disable Runtime.Enable, so it prevents this leak, and works great for DataDome and Cloudflare. You can find it in my repo here: https://github.com/rebrowser/rebrowser-patches 🫡 Feel free to open new issue there, I will be happy to take a look and assist.

thanks but i'm looking a salutation for playwright

nwebson commented 2 days ago

@Biswajit96 playwright patch is available as well now: Playwright (Node.js): rebrowser-playwright (src) and rebrowser-playwright-core (src) Playwright (Python): rebrowser-playwright (src)