Open Adelgrazy opened 2 years ago
Headless issue is also being discussed here: https://github.com/ultrafunkamsterdam/undetected-chromedriver/issues/589
It will always be problematic as there are many tricks to detect headless browsing. I don't have unique ideas.
try using this args // chromeop.AddArgument("--window-size=1920,1080"); // chromeop.AddArgument("--start-maximized"); // chromeop.AddArgument("--no-sandbox"); or try with cdp cmd to change some values in navigator
to check if you are 100% headfull ! check with this awesome filter https://infosimples.github.io/detect-headless/
Hello.
I was trying to use this library to bypass CloudFare detection. When I tried to use driver in normal mode everything is OK, but then I pass headless flag I got an error in FindElement after 60sec timeout
Here is my code snippet:
Chrome version: 103.0.5060.134
And error:
Maybe you have some ideas how to bypass cloudfare in headless mode?
Thanks in advance,