seleniumbase / SeleniumBase

📊 Python's all-in-one framework for web crawling, scraping, testing, and reporting. Supports pytest. UC Mode provides stealth. Includes many tools.
https://seleniumbase.io
MIT License
4.46k stars 909 forks source link

Not able to run on ARM based Ubuntu #2741

Closed atjtest closed 2 months ago

atjtest commented 2 months ago

I tried to run SeleniumBase on a ARM based Ubuntu installation, it complained can't find a driver for chrome.

The script I tested is https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_simple_login.py

Error messages: ... selenium.common.exceptions.WebDriverException: Message: Unsupported platform/architecture combination: linux/aarch64

.... selenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain driver for chrome; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location

Is there any alternative way to make it work?

Thanks.

mdmintz commented 2 months ago

Duplicate of https://github.com/seleniumbase/SeleniumBase/discussions/2619#discussioncomment-8833670:

The Unsupported platform/architecture combination: linux/aarch64 has some info here: https://groups.google.com/g/selenium-users/c/MRfrR7pu_8I with an answer here: https://groups.google.com/g/selenium-users/c/MRfrR7pu_8I/m/F9U3eMC0AAAJ

Use the SeleniumBase Dockerfile to run SeleniumBase scripts on any Linux system that supports Docker.

(Note that UC Mode is detectable in Docker, if you're using that.)