Skip to content

Commit

Permalink
Update chrome driver to v111.0.5563.19 (#9)
Browse files Browse the repository at this point in the history
* Update ChromeDriver to v111.0.5563.19

* Use --headless option because headless property is deprecated
  • Loading branch information
tatsuhiro-t authored Feb 13, 2023
1 parent 2757e8a commit e584779
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apt-get update && \

RUN pip3 install selenium

ENV CHROMEDRIVER_VERSION="109.0.5414.25"
ENV CHROMEDRIVER_VERSION="111.0.5563.19"
RUN wget -q "https://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION/chromedriver_linux64.zip" && \
unzip chromedriver_linux64.zip && \
mv chromedriver /usr/bin && \
Expand Down
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def get_args():

options = webdriver.ChromeOptions()
options.gpu = False
options.headless = True
options.binary_location = "/usr/bin/google-chrome-beta"
options.add_argument("--no-sandbox")
options.add_argument("--enable-quic")
Expand All @@ -45,6 +44,7 @@ def get_args():
options.add_argument("--log-net-log=/logs/chrome.json")
options.add_argument("--net-log-capture-mode=IncludeSensitive")
options.add_argument("--ignore-certificate-errors-spki-list=" + get_args().certhash)
options.add_argument("--headless=new")
options.add_experimental_option(
"prefs",
{
Expand Down

0 comments on commit e584779

Please sign in to comment.