Dev.to
7/25/2026

Integrating Camoufox with scrapy-playwright via PLAYWRIGHT_BROWSER_PROVIDER
Original: How to use Camoufox with Scrapy (New EASY Method)
Short summary
A detailed guide explains how to use Camoufox, a stealth browser, with Scrapy via the new PLAYWRIGHT_BROWSER_PROVIDER option in scrapy-playwright. The article covers why stock Playwright browsers get caught by anti-bot systems, why runtime patching is no longer sufficient, and how compile-time browser modifications are harder to detect. It contrasts the new inline approach with the previous workaround of connecting to a remote browser service over CDP.
- •New PLAYWRIGHT_BROWSER_PROVIDER lets scrapy-playwright use any Playwright-compatible browser like Camoufox inline
- •Stock Chromium/Firefox builds are easily detected by modern anti-bot systems; compile-time modifications are more effective
- •Eliminates the need to run a separate browser service over CDP for local stealth scraping
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



