Closed
Description
Problem Overview
When attempting to access "https://kaliiiiiiiiii.github.io/brotector/?crash=false" using SeleniumBase with headless mode and various anti-detection settings, the website successfully detects:
- Headless browser
- User-agent override
Reproduction Steps
-
Use SeleniumBase with the following configuration:
- Headless mode enabled
- Undetected Chrome mode (
uc=True
) - Test mode
- Maximize window
- Incognito mode
- Do not track enabled
- Ad block enabled
-
Code used for testing:
from seleniumbase import SB
with SB(uc=True, headless2=True, test=True, maximize=True, incognito=True, do_not_track=True, ad_block=True) as sb:
url = "https://kaliiiiiiiiii.github.io/brotector/?crash=false"
sb.activate_cdp_mode(url)
sb.cdp.flash("Test Results")
sb.sleep(0.5)
sb.cdp.save_screenshot("bscan.png")