FROM selenium/standalone-chrome-debug:3.4.0

USER root

RUN apt-get update \
    && apt-get -y install ttf-wqy-microhei ttf-wqy-zenhei \
    && apt-get clean

编译: docker build -t debug/chinese .

hub:
  image: selenium/hub
  ports:
    - "4444:4444"
firefox:
  image: selenium/node-firefox
  ports:
    - 5901:5900
  links:
    - hub
chrome:
  image: selenium/node-chrome
  ports:
    - 5902:5900
  links:
    - hub
node-chrome-debug:
  image: selenium/node-chrome-debug
  ports:
    - 5900:5900
  links:
    - hub
chinese:
  image: debug/chinese
  ports:
    - 5903:5900
  links:
  - hub

请问下后续的步骤该如何设置?@ycwdaaaa @lunamagic

后续

中文乱码问题已经解决


↙↙↙阅读原文可查看相关链接,并与作者交流