File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,14 +46,18 @@ RUN apt-get install -y \
4646# ============================
4747RUN apt-get update
4848RUN apt-get install -y \
49+ dbus-x11 \
4950 libatk1.0-0 \
5051 libatspi2.0-0 \
5152 libdbus-1-3 \
5253 libdrm2 \
5354 libgtk-3-0 \
5455 libnspr4 \
56+ libasound2t64 \
5557 libu2f-udev \
5658 libwayland-client0 \
59+ libx11-6 \
60+ libx11-xcb1 \
5761 libxdamage1 \
5862 libxfixes3 \
5963 libxkbcommon0
@@ -62,7 +66,7 @@ RUN apt-get install -y \
6266# Install useful utilities
6367# ==========================
6468RUN apt-get update
65- RUN apt-get install -y xdg-utils ca-certificates
69+ RUN apt-get install -y xdg-utils ca-certificates x11vnc
6670
6771# =================================
6872# Install Bash Command Line Tools
@@ -127,13 +131,20 @@ RUN cd /SeleniumBase && ls && pip install -r requirements.txt --upgrade
127131RUN cd /SeleniumBase && pip install .
128132RUN pip install pyautogui
129133RUN pip install playwright
134+ RUN seleniumbase get cft
130135RUN seleniumbase get chromium
131136
132137# =======================
133138# Download chromedriver
134139# =======================
135140RUN seleniumbase get chromedriver --path
136141
142+ # ==============
143+ # Extra config
144+ # ==============
145+ ENV DISPLAY=":99"
146+ RUN Xvfb :99 -screen 1 1920x1080x16 -nolisten tcp &
147+
137148# ==========================================
138149# Create entrypoint and grab example tests
139150# ==========================================
You can’t perform that action at this time.
0 commit comments