Skip to content

Running CDP selenium base on docker not working #3320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
RomainFrbl opened this issue Dec 6, 2024 · 3 comments
Closed

Running CDP selenium base on docker not working #3320

RomainFrbl opened this issue Dec 6, 2024 · 3 comments
Labels
question Someone is looking for answers UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode

Comments

@RomainFrbl
Copy link

RomainFrbl commented Dec 6, 2024

Hello,

Thanks for the amazing work !
I have my cdp implementation working great on Mac M2.
I'm trying to get it to work in a docker container, based on the Dockerfile from the project but it get stuck

image

Do you have an idea of the reason ?

image

@mdmintz mdmintz added question Someone is looking for answers UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode labels Dec 6, 2024
@mdmintz
Copy link
Member

mdmintz commented Dec 6, 2024

There's already a Dockerfile for regular SeleniumBase use: SeleniumBase/Dockerfile.

However, Docker leaves a detectable fingerprint, which makes Docker incompatible with UC Mode / CDP Mode.
If you want to run undetectable automation on a Linux server, GitHub Actions works well for that, as discussed in my latest YouTube video: https://www.youtube.com/watch?v=Mr90iQmNsKM.

@selmernoid
Copy link

There's already a Dockerfile for regular SeleniumBase use: SeleniumBase/Dockerfile.

However, Docker leaves a detectable fingerprint, which makes Docker incompatible with UC Mode / CDP Mode. If you want to run undetectable automation on a Linux server, GitHub Actions works well for that, as discussed in my latest YouTube video: https://www.youtube.com/watch?v=Mr90iQmNsKM.

@mdmintz hello, do VMs have the same limitations?

@mdmintz
Copy link
Member

mdmintz commented Apr 18, 2025

Scripts are stealthy in the GitHub Actions VM (https://github.com/mdmintz/undetected-testing/actions).
Note that having a bad IP Range can make your VM scripts detectable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Someone is looking for answers UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode
Projects
None yet
Development

No branches or pull requests

3 participants