-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't solve cloudflare captcha inside a VM #3628
Comments
Duplicate of #3449 (comment). |
Thanks for the answer but I'm not running on docker, the virtual machine was made on virtual box and it's running linux mint with a graphical interface. Linux Kernel:
Selenium version:
Chromium version: The SB options:
On the code, I open the URL with cdp mode and to click on the captcha, I'm using the Thanks for the help! |
Docker or not, virtual machines leave a fingerprint unless properly configured, and that virtual machine configuration is not something that's part of SeleniumBase. You would need to properly configure your Linux Mint machine to make it look like a regular Linux desktop. And as I mentioned earlier, CDP Mode replaces regular UC Mode. |
It might not be the machine configuration though. If that machine is hosted on a non-residential IP range, then it would get blocked due to that. |
Thanks for the help! |
I have the following code, that works when running locally, but when I try to run inside a VM it can't be solved, any tips on how to solve the problem?
I used both
sb.activate_cdp_mode
andsb.uc_open_with_reconnect
to open the site, andsb.uc_gui_handle_captcha()
/sb.uc_gui_handle_cf()
to solve the captcha, neither work.Edit: These are the options on the SB:
The text was updated successfully, but these errors were encountered: