2captcha / cloudflare-demo

Demo showing how to bypass Cloudflare Challenge page with Turnstile CAPTCHA with puppeteer and 2Captcha
18 stars 4 forks source link

Add info about headless mode #5

Closed dzmitry-duboyski closed 3 months ago

dzmitry-duboyski commented 4 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.