Skip to content

Docker Selenium值得拥有

INFO

部署selenium docker

  • 启动一个使用火狐浏览器的容器

  • 指向 4444端口

  • 可以了

  • 看一下容器中发生了什么。

功能截图

自带VNC,这你想到了么?

参考https://github.com/SeleniumHQ/docker-selenium

For more details about visualising the container activity, check the Debugging section.

☝️ When executing docker run for an image that contains a browser please use the flag --shm-size=2g to use the host's shared memory.

☝️ Always use a Docker image with a full tag to pin a specific browser and Grid version. See Tagging Conventions for details.