Tag: selenium firefoxdriver

创build包含Selenium的Firefox和Chrome驱动程序的Dockerfile

我有以下Dockerfile将build立一个Selenium服务器 FROM selenium/standalone-firefox:3.4.0-chromium FROM selenium/standalone-chrome USER root ENV NODE_ENV test RUN mkdir -p /usr/local/cdt-tests/csv-data COPY ./csv-data /usr/local/cdt-tests/csv-data USER seluser 显然这两个FROM语句不正确 =>我如何创build一个Selenium服务器容器同时具有Chrome驱动程序和Firefox驱动程序。 据我所知, selenium/standalone-firefox:3.4.0-chromium图像只适用于Firefox。