简体   繁体   中英

Running karate tests on chrome with chromedriver inside docker

I would like to run my karate tests using the chromedriver and chrome present in a docker container. How can this be achieved? I could only find the documentation on the native version of chrome here

We only support chrome native via Docker. Note that you can use existing Selenium "Grid" infra, for eg see these:

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

https://stackoverflow.com/a/60992292/143475

You can consider creating your own Docker image (which is very common) or use an existing "Selenium flavored" one. Do note that Karate is open-source. Maybe you would be interested to contribute this Docker container:)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM