Use same version of chrome driver and browser
This commit is contained in:
@@ -10,9 +10,9 @@ RUN sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable
|
|||||||
RUN apt-get -y update
|
RUN apt-get -y update
|
||||||
|
|
||||||
# Magic happens
|
# Magic happens
|
||||||
#RUN wget -O /tmp/google-chrome-stable.deb http://mirror.cs.uchicago.edu/google-chrome/pool/main/g/google-chrome-stable/google-chrome-stable_108.0.5359.71-1_amd64.deb
|
RUN wget -O /tmp/google-chrome-stable.deb http://mirror.cs.uchicago.edu/google-chrome/pool/main/g/google-chrome-stable/google-chrome-stable_`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE`-1_amd64.deb
|
||||||
#RUN apt install -y /tmp/google-chrome-stable.deb
|
RUN apt install -y /tmp/google-chrome-stable.deb
|
||||||
RUN apt-get install -y google-chrome-stable
|
#RUN apt-get install -y google-chrome-stable
|
||||||
|
|
||||||
# Installing Unzip
|
# Installing Unzip
|
||||||
RUN apt-get install -yqq unzip
|
RUN apt-get install -yqq unzip
|
||||||
|
|||||||
Reference in New Issue
Block a user