claabs / epicgames-freegames-node

Automatically login and find available free games the Epic Games Store. Sends you a prepopulated checkout link so you can complete the checkout after logging in. Supports multiple accounts, login sessions, and scheduled runs.
https://hub.docker.com/r/charlocharlie/epicgames-freegames
MIT License
1.39k stars 93 forks source link

Update puppeteer.ts #316

Closed Dev4Mod closed 1 year ago

Dev4Mod commented 1 year ago

Added flag in browser to bypass hcaptcha detection

claabs commented 1 year ago

Sure, I'll try it 🙂

claabs commented 1 year ago

Turns out this is already included in the stealth plugin, so this didn't change anything really: https://github.com/berstend/puppeteer-extra/blob/master/packages/puppeteer-extra-plugin-stealth/evasions/navigator.webdriver/index.js#L41

Dev4Mod commented 1 year ago

when I tested it without this argument, it fails to solve the captcha. it was detecting that there was an automation in the browser