A proxy that opens target URLs in headless Chrome, waits for anti-bot challenges to finish, then returns HTML and cookies for use in other HTTP clients.
Overview
FlareSolverr runs a proxy that sits idle until it receives a request. For each job it launches Chrome via Selenium and undetected-chromedriver, loads the URL with your parameters, waits until Cloudflare or DDoS-GUARD protection is satisfied or a timeout occurs, then returns the page HTML and cookies.
Returned cookies can be reused with other tools if you match the User-Agent FlareSolverr used. The API supports one-off requests, persistent sessions that keep cookies between calls, listing and destroying sessions, GET and POST with form-encoded bodies, optional screenshots, waits after solve, and disabling media loads to speed navigation.
Docker is the recommended install path because the image bundles the browser. Images are published for several CPU architectures, with docker-compose provided to start a container. Prebuilt binaries exist for Windows and Linux x64; you can also run from source or as a systemd unit on supported systems.
Each request can spawn a browser, so memory use is high on small machines. Permanent sessions reduce repeated launches but should be closed when finished. The authors warn against exposing the service to the public internet. Optional Prometheus metrics and captcha solver hooks exist; automatic captcha solving was reported as non-functional in the docs snapshot.
Key features
- Headless Chrome via undetected-chromedriver
- REST API with GET and POST request commands
- Session create, list, and destroy for cookie reuse
- Returns HTML, cookies, headers, and optional PNG screenshot
- Docker images and compose template for deployment
- Configurable timeouts, proxy auth, and logging
- Optional Prometheus metrics exporter
- Turnstile tab-focus verification for some challenges
Use cases
- Fetching pages protected by Cloudflare in scrapers
- Seeding cookies into curl, Python, or other HTTP clients
- Automating DDoS-GUARD protected URLs
- Self-hosted challenge solver beside indexing or archival jobs