2captcha / cloudflare-demo

Demo showing how to bypass Cloudflare Challenge page with Turnstile CAPTCHA with puppeteer and 2Captcha
MIT License
22 stars 3 forks source link

Add info about headless mode #5

Closed dzmitry-duboyski closed 6 months ago

dzmitry-duboyski commented 6 months ago

Add description about headless mode.

In headless mode, the userAgent value contains the text Headless and this makes it difficult to pass the captcha. Because of this, it is necessary to manually set the userAgent value.