To Owner - Is the uc_driver provided compatible with arm 64 architecture? #2016
Replies: 3 comments 7 replies
-
Hello, SeleniumBase is compatible with ARM 64 architecture. Verified on my M2 Mac, and also on GitHub Actions running UC Mode on Ubuntu systems. See: https://github.com/mdmintz/undetected-testing/actions/runs/5932953380 Your error looks to be caused by missing |
Beta Was this translation helpful? Give feedback.
-
Hello Michael, I came across the smiliar issue with aarch64 Linux, though it worked find on all my Apple Silicon Macs. The the seleniumbase project was fully developed on an M1 Pro Mac Linux usarm 6.1.0-35-arm64 #1 SMP Debian 6.1.137-1 (2025-05-07) aarch64 GNU/Linux
6.1.0-35-arm64
and of course running /path/to/chromedriver returned I am running with the latest seleniumbase on Debian 12. Any clue why this it? thank you in advance! |
Beta Was this translation helpful? Give feedback.
-
I also ran into these same compatibility issues today with the ARM64 architecture, and I think I found the root cause. I am running things locally on an M3 Mac, but I'm also building a Docker container with the linux/arm64 architecture. When I run things locally on my Mac, everything works swimmingly. But once I build my container (using
But my Dockerfile already includes the following:
So I know the chrome driver is there! Looking at the full traceback of the exception above revealed that the error was coming from line 5826 of browser_launcher.py in SeleniumBase (at time of this writing). That's the line where it tries to instantiate a
And if I run that code directly in a Python REPL inside my Docker container, indeed it gives the same NoSuchDriverException. However, if I specify the locations of both chromium and the chrome driver explicitly (along with 2 other random arguments), then it loads without raising any exceptions. So here is a working MCRE:
Notably, this worked (in the sense that it no longer throws any exceptions) when I set
So hopefully this helps shed some light on the issue. Perhaps there's some SeleniumBase configuration option I don't know about, which could be used to override these values? Or perhaps some of this could be patched in a future release? In the meantime, I think I'll try some monkey-patching of SeleniumBase in my code to see if I can't get this to work inside the Docker container... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I stumbled across this great library day before yesterday, and it has been solving issues that I faced in other automation libraries. The problem I am facing now is when I tried deploying it on my ubuntu server, it is giving me an error -
OSError: [Errno 8] Exec format error: '/home/ubuntu/SeleniumBase/SeleniumBase/seleniumbase/drivers/uc_driver'
I have checked the web and I am not sure where the problem lies. It has all the file permissions. So I just wanted to ask you if the uc_driver that comes with the library compatible with the arm 64 architecture? If not, is there any workaround?
Thank You.
Beta Was this translation helpful? Give feedback.
All reactions