Issue with Cloudflare Detection in Headless Mode using SeleniumBase #2525
benfrankie
started this conversation in
General
Replies: 1 comment 4 replies
-
Hello @benfrankie, it might be due to #2523 If you can help me debug this, I can get a fix out quickly. I'll need you to run the following: print(driver.execute_script("return navigator.userAgent;")) There was a change made between Try both of those versions of SeleniumBase in headless UC Mode, get the user agent, and let me know what it is for the different situations. Also let me know the user agent of a regular Chrome browser for you. Also, in case the user agent is affected by the proxy server you used, let me know that too. It'll help me debug this and put in the correct fix. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, Until recently, everything was working fine. However, a few hours ago, I started facing challenges with Cloudflare triggering a security screen in headless mode on Windows 11, and SB fails to bypass it. When running the script in the standard (non-headless) mode, this issue does not occur.
Here's a brief overview of my setup:
I'm using the uc_open_with_reconnect method provided by SeleniumBase for navigating to URLs.
The issue arises when attempting to access the login page of a website (in my case, fetlife.com ).
This seems to be a recent development, as there were no such issues until a few hours ago.
Any recommendations or workarounds you could suggest to help mitigate this issue in headless uc mode?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions