Skip to content
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

Problem with UC Mode (from chromedriver / uc_driver) #3204

Closed
thomvas opened this issue Oct 19, 2024 · 2 comments
Closed

Problem with UC Mode (from chromedriver / uc_driver) #3204

thomvas opened this issue Oct 19, 2024 · 2 comments
Labels
duplicate The answer/solution already exists somewhere UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode workaround exists You can reach your destination if you do this...

Comments

@thomvas
Copy link

thomvas commented Oct 19, 2024

Hi,

my code is this:

from seleniumbase import Driver

driver = Driver(uc=True, headless2=True)

url = "https://www.amazon.com/"

driver.get(url)

I have SeleniumBase 4.31.6. I use MacOS 15.0 Sequoia with Intel and Chrome 130.0.6723.59.

This code sometimes gives me this error.

2024-10-19_15-02

The error is also on MacOS with Apple Silicon and rosetta installed.

I've found that deleting uc=True solves the problem, so the following code works.

from seleniumbase import Driver

driver = Driver(headless2=True)

url = "https://www.amazon.com/"

driver.get(url)

Could it be a bug? How can I use UC Mode on MacOS without problems?

Thanks :)

**UPDATE:

i updated my chrome on windows and i have same problem also on Windows**

@thomvas thomvas changed the title Problem with UC Mode on MacOS Problem with UC Mode Oct 19, 2024
@mdmintz
Copy link
Member

mdmintz commented Oct 19, 2024

Probably a duplicate of #3205 (comment)

Try setting driver_version="129"

That workaround should work until a more permanent solution becomes available. I’m figuring out how to properly patch all the driver changes that appeared in 130.

@mdmintz mdmintz added duplicate The answer/solution already exists somewhere workaround exists You can reach your destination if you do this... UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode labels Oct 19, 2024
@schamen

This comment was marked as off-topic.

@mdmintz mdmintz changed the title Problem with UC Mode Problem with UC Mode (from chromedriver / uc_driver) Oct 21, 2024
@mdmintz mdmintz closed this as completed Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate The answer/solution already exists somewhere UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode workaround exists You can reach your destination if you do this...
Projects
None yet
Development

No branches or pull requests

3 participants