运行 chrome 空手道测试 chrome 车手在 docker

Running karate tests on chrome with chromedriver inside docker

我想 运行 我的空手道测试使用 chrome 驱动程序和 chrome 存在于 docker 容器中。如何实现?我只能找到 chrome here

本机版本的文档

我们仅通过 Docker 支持 chrome 本机。请注意,您可以使用现有的 Selenium “Grid” infra,例如查看这些:

https://github.com/ptrthomas/karate-devicefarm-demo

您可以考虑创建自己的 Docker 图像(这很常见)或使用现有的“Selenium 风格”图像。请注意,空手道是开源的。也许您有兴趣贡献这个 Docker 容器 :)