Karate UI: Get current browser's URL

Viewed 625

Is there a way to get the current URL in the browser's address bar? Is there any replacement for the following code which does not work, perhaps as mentioned here:

  And def url =  function() {return window.location.href}
  Then print url()
1 Answers
Related