CVA
CVA

Reputation: 1567

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

Upvotes: 2

Views: 2279

Answers (1)

Peter Thomas
Peter Thomas

Reputation: 58128

We only support chrome native via Docker. Note that you can use existing Selenium "Grid" infra, for e.g 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 :)

Upvotes: 2

Related Questions