Replies: 1 comment 4 replies
-
The SeleniumBase also has a sample |
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
-
Hello!
I am trying to use SeleniumBase in Docker container.
I am building it in Mac M1, for image I use python:3.8-bullseye.
When I try to do following:
I am getting errors:
selenium.common.exceptions.WebDriverException: Message: Unsupported platform/architecture combination: linux/aarch64
andselenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain driver for chrome using Selenium Manager.
I went to google, tried some things, and eventually I succeeded for WebDriver:
And code with
webdriver
returned:<selenium.webdriver.chrome.webdriver.WebDriver (session="4e1a81ac8ab545a888b49cbcfdc11109")>
What should I do, to be able to use
Driver
from SeleniumBase?P.S. I don't want to change image or download already built image. I want to understand how it works and what I do wrong.
P.P.S
/usr/bin/chromedriver
to Driver:Driver(headless=True, binary_location='/usr/bin/chromedriver')
and it didn't work.apt-get install chromium-driver
, because locally I develop on Mac, but my server on Ubuntu. So this command allows me to install on mac for mac, on server for server, with no specific versions specifiedThanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions