1

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

CVA
  • 1,477
  • 1
  • 14
  • 23

1 Answers1

2

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 :)

Peter Thomas
  • 54,465
  • 21
  • 84
  • 248
  • If I use Zalenium to connect to Sauce labs to run IE. How should the driver config look like ? – CVA Jul 03 '20 at 12:04
  • @CVA I haven't used Sauce Labs - this is what works on localhost: https://github.com/intuit/karate/tree/master/karate-core#webdriverurl – Peter Thomas Jul 03 '20 at 14:20