I've tried to run my python selenium bot in --headless mode. Unfortunately with --headless mode it is not bypassing Cloudflare bot protection. Any ideas what would work there?
options = uc.ChromeOptions()
options.headless=True
options.add_argument("--window-size=1920,1080")
options.add_argument('--ignore-certificate-errors')
options.add_argument('--allow-running-insecure-content')
options.add_argument('--headless')
scrap = uc.Chrome(use_subprocess=True,options=options)