Can't for the life of me get seleniumbase to work on Ubuntu #3591
-
First off, thank you mdmintz for working so hard on this tool. I tried a million things to fly undetected and nothing worked until seleniumbase with UC mode. The below script is almost straight from the docs, except I duplicated the line from seleniumbase import SB
import logging
logging.basicConfig(level=logging.DEBUG)
with SB(uc=True) as sb:
url = "https://gitlab.com/users/sign_in"
sb.activate_cdp_mode(url)
sb.uc_gui_click_captcha()
sb.sleep(2)
sb.uc_gui_click_captcha()
sb.sleep(2) I'll leave out the details of the million things I tried to get my larger project working on Ubuntu, as if I can get this working, I can get everything else working too. This works fine on mac. I put it on Ubuntu (on prem infra), install all the dependencies (including google-chrome-stable), and run it Expected result: Google chrome opens and we nav to Gitlab, captcha is clicked, captcha is bypassed I can't tell whats wrong and I'm not sure where to look to debug or fix it. Do you know whats wrong? Do you need more information? Thank you,
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
For the Check the following to find out if your Linux distribution is missing
When everything is configured properly on Ubuntu, things work. Eg: |
Beta Was this translation helpful? Give feedback.
For the
X11 display failed!
, that's a duplicate of #3404, #3060, and #2982.Check the following to find out if your Linux distribution is missing
X11
display dependencies:When everything is configured properly on Ubuntu, things work. Eg:
https://github.com/mdmintz/undetected-testing/actions/runs/13695318069/job/38296312083
(GitHub Actions Ubuntu machines come with the
X11
display dependencies.)