title: Capability of using Karate along with selenium webdriver
body: <p>I started using Karate one week back and this is my first question. I used to write web service tests using Spock &amp; groovy, Rest assured &amp; cucumber. When I came across Karate I felt it's really interesting. Thank you for your huge effort.  </p>
  
  <p>I found Karate really capable and satisfying my needs to automated Json services. However, I would like to know some more details on this. I use another framework along with groovy, Spock and Java. In my scenario, I need to send a json request, get the transaction id from the response and then execute the UI test using selenium web driver. How can I easily integrate Karate tests with selenium web driver? This is a sample scenario including web service and UI in spock</p>
  
  <pre><code>    given: "Submit  Request and get valid response"
      getResponse("request.template", "/mypersonal")
      assert respStatus == 200
      String myOrderID = getValueFromResponse(orderId)
      verifyMyOrder(myOrderID)
  
      when: "Start the browser for executing the functionality and Navigate to app"
      WebDriver driver = DriverFactory.getInstance().getWebDriver()
      ObjectFactory oFctry = new ObjectFactory(driver)
      driver.navigate().to(url)
      oFctry.uLogin()
      oFctry.navigateToPersonalFile()
  
      then: "Validate the File"
      oFctry.searchInInDirectory(myOrderID)
      oFctry.navigateToProductDetailsPage(myOrderID)
  
      cleanup: "Close the chrome browser"
      DriverFactory.getInstance().removeDriver()
  </code></pre>