Playwright is Microsoft's end-to-end testing and scraping library that drives Chromium, Firefox, and WebKit. Key features:
Stealth context: Emulates devices, locales, geos.
Network intercept: Modify requests/responses on the fly.
Auto-wait: Handles dynamic pages without manual sleep.
Add Proxied SOCKS5 to every browser context:
const browser = await playwright.chromium.launch({
proxy: { server: 'socks5://gateway.proxied.com:1080' },
})Each tab inherits a fresh mobile IP, bypassing IP-based fingerprinting.