Capability of using Karate along with selenium webdriver

牧云@^-^@ 提交于 2019-11-29 12:28:26

You have 2 options, call Selenium driver from Karate or call Karate via the Java API.

  • Example of mixing Java code using a Java library into a Karate test (JDBC in this case): dogs.feature. Also refer to how to call Java in the documentation.
  • Documentation for how to call Karate from Java: Java API

Personally, I prefer option 1 - which is what you have been doing with Spock.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!