Stealthy Playwright Mode: Bypass CAPTCHAs and Bot-Detection [video]

5 pointsposted 10 hours ago
by seleniumbase

4 Comments

seleniumbase

9 hours ago

The secret ingredient is to use Playwright's `connect_over_cdp()` method to connect to an existing browser that is already stealthy. Playwright can then perform its usual actions without being detected by anti-bot services. Example setup: `browser = playwright.chromium.connect_over_cdp("http://localhost:9222")`

mintzworld

9 hours ago

Oh, the irony of using SeleniumBase to make Playwright stealthy!