botasaurus icon indicating copy to clipboard operation
botasaurus copied to clipboard

How to Deploy in Headful Mode on Server & Bypass Cloudflare (Docker Setup Needed)

Open sahirkhan0630 opened this issue 6 months ago • 0 comments

Hi, thank you for this awesome project!

I'm trying to deploy botasaurus on a server and run it in headful mode (non-headless), because I need to bypass Cloudflare bot protection, which detects Headless in the User-Agent or browser features.

My Requirements: Run Chrome in headful mode on a Linux server (Dockerized).

Bypass Cloudflare bot protection reliably.

A working Docker setup to support this (ideally with xvfb or similar if needed for headful operation without a GUI).

What I've Tried: Using headless mode, but Cloudflare blocks it due to detectable Headless UA and navigator properties.

Tried custom UAs and navigator spoofing, but it’s still blocked in headless mode.

Unable to find a working Docker config for fully functional headful browsing.

What I Need Help With: How to configure botasaurus to run in headful mode in production.

A Dockerfile and docker-compose setup that supports this behavior.

Any additional steps needed to fully bypass Cloudflare using headful automation.

sahirkhan0630 avatar Jun 02 '25 10:06 sahirkhan0630