zfcsoftware / puppeteer-real-browser

This package is designed to bypass puppeteer's bot-detecting captchas such as Cloudflare. It acts like a real browser and can be managed with puppeteer.
https://www.npmjs.com/package/puppeteer-real-browser
MIT License
368 stars 47 forks source link

Not working #40

Open ibrahimmus opened 2 months ago

ibrahimmus commented 2 months ago

It is failing the online test for reCAPTCHA 3 score, https://antcpt.com/eng/information/demo-form/recaptcha-3-test-score.html

zfcsoftware commented 2 months ago

I suggest you turn off fingerprint and turnstile plugins and try it.

Also, this kind of score is probably because devtools seems to be open. Since the CDP session is started, f12 seems to be open. This will not cause you problems with cloudflare and many other sites. This issue is being worked on.

image

ibrahimmus commented 2 months ago

The best I can get is 0.3 with this configuration :/

zfcsoftware commented 2 months ago

Hello, unfortunately it catches because of the CDP session. I will try to hide the CDP session. This error is something I have been investigating for a long time.

kaliiiiiiiiii commented 2 months ago

Hello, unfortunately it catches because of the CDP session. I will try to hide the CDP session. This error is something I have been investigating for a long time.

see https://github.com/kaliiiiiiiiii/brotector?tab=readme-ov-file#detections

workarounds can be

Also not that there's https://github.com/kaliiiiiiiiii/brotector?tab=readme-ov-file#inputcordinatesleak

zfcsoftware commented 1 month ago

@ibrahimmus You can create and use the scanner with the scanner creation code in the file below. Recaptcha score is very good. Soon the library will initialize the scanner as in the file below. https://github.com/zfcsoftware/cf-clearance-scraper/blob/main/module/browser.js