Skip to content

Commit a78261d

Browse files
committed
fix: 🐛 specify selenium version to avoid:
WebDriver.__init__() got multiple values for argument 'options'
1 parent 06c5264 commit a78261d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN yum install atk cups-libs gtk3 libXcomposite alsa-lib \
1010
libXcursor libXdamage libXext libXi libXrandr libXScrnSaver \
1111
libXtst pango at-spi2-atk libXt xorg-x11-server-Xvfb \
1212
xorg-x11-xauth dbus-glib dbus-glib-devel -y
13-
RUN pip install selenium
13+
RUN pip install selenium==4.9.1
1414
COPY --from=build /opt/chrome-linux /opt/chrome
1515
COPY --from=build /opt/chromedriver /opt/
1616
COPY main.py ./

0 commit comments

Comments
 (0)