File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,13 @@ RUN pip install --no-cache-dir selenium==4.9.0 requests
25
25
26
26
# Install the latest Google Chrome stable release
27
27
WORKDIR /opt/chrome
28
+
29
+ # TODO: figure out whatever fix is necessary to use Chrome >= 128 and put this back in the RUN below so we stay
30
+ # up-to-date
31
+ # chrome_url=$(curl https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json | jq -r '.channels[] | select(.channel == "Stable") | .downloads.chrome[] | select(.platform == "linux64").url') && \
32
+
28
33
RUN \
29
- chrome_url=$(curl https://googlechromelabs.github.io /chrome-for-testing/last-known-good-versions-with-downloads.json | jq -r '.channels[] | select(.channel == "Stable") | .downloads. chrome[] | select(.platform == " linux64").url') && \
34
+ chrome_url=" https://storage.googleapis.com /chrome-for-testing-public/127.0.6533.119/linux64/ chrome- linux64.zip" && \
30
35
wget $chrome_url && \
31
36
unzip chrome-linux64.zip && \
32
37
rm -rf chrome-linux64.zip && \
@@ -49,8 +54,12 @@ RUN apt-get install -y libxi6 libgconf-2-4 jq libjq1 libonig5 libxkbcommon0 libx
49
54
50
55
# Installing the latest stable Google Chrome driver release
51
56
WORKDIR /opt/chrome-driver
57
+ # TODO: figure out whatever fix is necessary to use Chrome >= 128 and put this back in the RUN below so we stay
58
+ # up-to-date
59
+ # chromedriver_url=$(curl https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json | jq -r '.channels[] | select(.channel == "Stable") | .downloads.chromedriver[] | select(.platform == "linux64").url') && \
60
+
52
61
RUN \
53
- chromedriver_url=$(curl https://googlechromelabs.github.io /chrome-for-testing/last-known-good-versions-with-downloads.json | jq -r '.channels[] | select(.channel == "Stable") | .downloads. chromedriver[] | select(.platform == " linux64").url') && \
62
+ chromedriver_url=" https://storage.googleapis.com /chrome-for-testing-public/127.0.6533.119/linux64/ chromedriver- linux64.zip" && \
54
63
wget $chromedriver_url && \
55
64
unzip -j chromedriver-linux64.zip chromedriver-linux64/chromedriver && \
56
65
rm -rf chromedriver-linux64.zip && \
You can’t perform that action at this time.
0 commit comments