I am trying to understand that which web driver does karate UI test framework use to interact with web browsers. As its counterpart Selenium which is already a web driver is used for UI automation and testing. So how is karate different from Selenium?
Asked
Active
Viewed 18 times
1 Answers
0
Karate uses Chrome directly by default. So no driver is required.
But Karate also is compatible with the WebDriver W3C Specification. This means that Karate can "talk" to any compatible driver, I guess you are familiar with chomedriver, geckodriver etc. The interesting thing is Karate does not depend on Selenium to do this, i.e. the WebDriver support is created from scratch in Karate. Teams have reported that Karate UI tests are more stable, and the whole "wait" business is much simpler.
Karate of course allows you to mix API testing and UI testing in the same flow.

Peter Thomas
- 54,465
- 21
- 84
- 248