Is it possible to use Karate UI test on remote webdriver?

Viewed 666

Actually i am looking to integrate browserstack with Karate for UI automation. If its possible or anyone tried then let me know the inputs.

1 Answers

Refer the webDriverSession in the docs: https://github.com/intuit/karate/tree/develop/karate-core#webdriversession

Example:

* def session = { capabilities: { browserName: 'chrome' }, desiredCapabilities: { browserName: 'chrome' } }
* configure driver = { type: 'chromedriver', webDriverSession: '#(session)', start: false, webDriverUrl: 'http://localhost:9515/wd/hub' }
Related