How to run google chrome headless in docker?

前端 未结 6 1597
栀梦
栀梦 2020-12-13 08:35

My problem is how to run google chrome in docker container for e2e testing. I create a Dockerfile from official Jenkins image, but when try to run google chrome

6条回答
  •  被撕碎了的回忆
    2020-12-13 08:58

    I don't have the answer but I know a container which successfully launch a headless Chrome in Docker. The selenium one:

    Selenium Chrome Node

    I use it for automated testing of my webapp in Chrome

    Hope it helps

提交回复
热议问题