Skip to content

UC Mode works with python env, but not with Docker image. #3834

Closed
@aymanqabbal0

Description

@aymanqabbal0

so it used to work just fine using this docker image :
FROM ghcr.io/cascandaliato/seleniumbase:master
RUN apt-get update &&
apt-get install --yes git x11vnc &&
git clone https://github.com/novnc/noVNC.git &&
cd noVNC/utils &&
git clone https://github.com/novnc/websockify.git

COPY . .

RUN pip install -r requirements.txt

CMD [ "python3", "main.py" ]

but now it works when I run it with python , but fails when run in a Docker env:
with SB(uc=True, xvfb=True,headed=True) as sb:
url = myUrls.get(t)+"/api_web/v1/listing?slug=cars&init_page=true&webp=true&page="
sb.driver.uc_open_with_reconnect(url+'1', 4)
sb.uc_gui_click_captcha()
sb.driver.implicitly_wait(3)

is their an issue, and it's a wip or is it just a problem with docker being easily detected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeduplicateThe answer/solution already exists somewhere

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions