[ ERROR ] Execution stopped by user #3737
prashantbajpai06
started this conversation in
General
Replies: 1 comment 6 replies
-
That's a Note that if your "ubuntu:20.04 pod" has a non-residential IP address, then the automation is detectable. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use SeleniumBase to automate and bypass a Cloudflare Turnstile CAPTCHA. The following configuration works perfectly on my local machine:
SB(uc=True, test=True, locale="en", incognito=True)
However, when I deploy the same setup to a ubuntu:20.04 pod, I encounter a strange error:
[ ERROR ] Execution stopped by user
If I change the configuration to disable Undetected Chrome:
SB(uc=False, test=True, locale="en", incognito=True)
Then the error disappears — but the CAPTCHA is no longer solved.
Next, I tried running with both uc=True and headless=True, but that results in this error:
PyAutoGUI can't be used in headless mode!
It seems that the issue starts only when uc=True is enabled, and likely involves PyAutoGUI, which can't operate in a headless environment.
What I've Tried:
✅ Works locally with GUI (uc=True)
❌ Fails in Linux pod with uc=True: [ ERROR ] Execution stopped by user
✅ Works in pod with uc=False, but CAPTCHA fails
❌ headless=True breaks PyAutoGUI with uc=True
Request for Help:
I’m currently blocked from running SeleniumBase with uc=True in a Linux pod due to the [ ERROR ] Execution stopped by user. Is there a recommended workaround or best practice to make this work ?
Any urgent assistance would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions