File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,14 +42,13 @@ export function createHeroConfig(options: HeroConfigOptions = {}): any {
4242 showChrome : options . showChrome ?? false ,
4343
4444 // ============================================================================
45- // MITM proxy disabled
46- // ============================================================================
47- // Real Chrome already produces correct TLS fingerprints. Hero's MITM proxy
48- // intercepts and re-encrypts traffic which Cloudflare detects as non-standard.
49- // Disabling MITM lets Chrome handle TLS directly - more reliable for modern
50- // anti-bot systems. Stealth emulation scripts (webdriver=false, navigator
51- // spoofing, WebRTC masking) still work without MITM.
52- disableMitm : true ,
45+ // TLS fingerprint emulation via MITM (required)
46+ // ============================================================================
47+ // Hero requires MITM for page load detection (waitForLoad, waitForPaintingStable
48+ // depend on MITM tracking network requests). Disabling MITM causes all
49+ // navigations to hang because Hero can't detect when loading completes.
50+ // For sites where MITM causes Cloudflare issues, use browser sessions instead.
51+ disableMitm : false ,
5352
5453 // ============================================================================
5554 // Session management
You can’t perform that action at this time.
0 commit comments