Hey man! Just found this project, glad to know someone is working on it :P
It already helped me in my dev-machine, working better than uc
But I cant make it work on my deployment server. It's an arm64 server, maybe something to do with it, since I need to use chromium instead of chrome.
Do you happen to know why?
tracelog
self.driver = Chrome(options=chrome_options)
2026-Feb-06 18:45:17
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-Feb-06 18:45:17
File "/usr/local/lib/python3.13/site-packages/undetected/__init__.py", line 419, in __init__
2026-Feb-06 18:45:17
super(Chrome, self).__init__(
2026-Feb-06 18:45:17
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
2026-Feb-06 18:45:17
service=service,
2026-Feb-06 18:45:17
^^^^^^^^^^^^^^^^
2026-Feb-06 18:45:17
options=options,
2026-Feb-06 18:45:17
^^^^^^^^^^^^^^^^
2026-Feb-06 18:45:17
keep_alive=keep_alive,
2026-Feb-06 18:45:17
^^^^^^^^^^^^^^^^^^^^^^
2026-Feb-06 18:45:17
)
2026-Feb-06 18:45:17
^
2026-Feb-06 18:45:17
File "/usr/local/lib/python3.13/site-packages/selenium/webdriver/chrome/webdriver.py", line 47, in __init__
2026-Feb-06 18:45:17
super().__init__(
2026-Feb-06 18:45:17
~~~~~~~~~~~~~~~~^
2026-Feb-06 18:45:17
browser_name=DesiredCapabilities.CHROME["browserName"],
2026-Feb-06 18:45:17
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-Feb-06 18:45:17
...<3 lines>...
2026-Feb-06 18:45:17
keep_alive=keep_alive,
2026-Feb-06 18:45:17
^^^^^^^^^^^^^^^^^^^^^^
2026-Feb-06 18:45:17
)
2026-Feb-06 18:45:17
^
2026-Feb-06 18:45:17
File "/usr/local/lib/python3.13/site-packages/selenium/webdriver/chromium/webdriver.py", line 58, in __init__
2026-Feb-06 18:45:17
self.service.start()
2026-Feb-06 18:45:17
~~~~~~~~~~~~~~~~~~^^
2026-Feb-06 18:45:17
File "/usr/local/lib/python3.13/site-packages/selenium/webdriver/common/service.py", line 108, in start
2026-Feb-06 18:45:17
self.assert_process_still_running()
2026-Feb-06 18:45:17
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
2026-Feb-06 18:45:17
File "/usr/local/lib/python3.13/site-packages/selenium/webdriver/common/service.py", line 121, in assert_process_still_running
2026-Feb-06 18:45:17
raise WebDriverException(f"Service {self._path} unexpectedly exited. Status code was: {return_code}")
2026-Feb-06 18:45:17
selenium.common.exceptions.WebDriverException: Message: Service /root/.local/share/undetected/807b2c88549982ae_chromedriver unexpectedly exited. Status code was: 255
before, with uc, I started this way:
if platform.system() == 'Windows':
chrome_type = ChromeType.GOOGLE
elif platform.system() == 'Linux':
chrome_type = ChromeType.CHROMIUM
br_ver = OperationSystemManager().get_browser_version_from_os(chrome_type)
version_main=int(br_ver.split('.')[0])
chrome_options.add_experimental_option('prefs', prefs)
cPath = '/usr/bin/chromedriver' if os.path.exists('/usr/bin/chromedriver') else ''
service = Service(cPath, version_main=version_main, port=8000)
self.driver = Chrome(options=chrome_options, service=service, version_main=version_main, driver_executable_path=cPath)
self.wait = WebDriverWait(self.driver, 30)
(I read about version_main in another issue, but the error I'm facing is different)
in my dev machine I was only using self.driver = Chrome(options=chrome_options) and it was fine
I also tried all variations of it, like removing the driver_executable_path and/or service, but no luck (although almost all variations worked on my dev machine)
My options are pretty simple tbh:
chrome_options.add_argument('--headless')
chrome_options.add_argument('--no-sandbox')
chrome_options.add_argument('--lang=en')
chrome_options.add_argument('--log-level=3')
chrome_options.add_argument('--disable-extensions')
chrome_options.add_argument('--disable-dev-shm-usage')
chrome_options.add_argument('--window-size=1280x720')
chrome_options.add_argument('--disable-notifications')
chrome_options.add_argument('--no-first-run')
chrome_options.add_argument('--disable-gpu')
chrome_options.add_argument('--user-agent=%s' % ua.chrome)
just to make clear: runs ok on my arch x64-based
doesn't run on docker python img arm64 based
Hey man! Just found this project, glad to know someone is working on it :P
It already helped me in my dev-machine, working better than uc
But I cant make it work on my deployment server. It's an arm64 server, maybe something to do with it, since I need to use chromium instead of chrome.
Do you happen to know why?
tracelog
before, with uc, I started this way:
(I read about
version_mainin another issue, but the error I'm facing is different)in my dev machine I was only using
self.driver = Chrome(options=chrome_options)and it was fineI also tried all variations of it, like removing the
driver_executable_pathand/orservice, but no luck (although almost all variations worked on my dev machine)My options are pretty simple tbh:
just to make clear: runs ok on my arch x64-based
doesn't run on docker python img arm64 based