我正在 AWS Batch 环境中的 Docker 容器中运行 Docker 映像。一段时间以来一切都运行良好,但从今天开始我收到以下错误。
E selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This
version of ChromeDriver only supports Chrome version 114
E Current browser version is 116.0.5845.96 with binary path /opt/google/chrome/google-chrome
Run Code Online (Sandbox Code Playgroud)
chrome安装的Dockerfile如下
FROM python:3.10
WORKDIR /usr/src/app
COPY . .
RUN pip install --trusted-host pypi.org --upgrade pip
RUN pip install --no-cache-dir \
--extra-index-url https://artifactory.int.csgdev01.citcosvc.com/artifactory/api/pypi/citco-
pypi/simple \
-r requirements.txt
RUN pip install awscli
RUN apt-get install -yqq unzip curl
RUN apt-get -y update
RUN apt-get install zip -y
RUN apt-get …Run Code Online (Sandbox Code Playgroud) python google-chrome amazon-web-services selenium-webdriver docker