Karate UI: driver.location method induces Error: path: $, actual: null
问题 I am trying to use method driver.location, but as a result I got the error : path: $, actual: null My code: Feature: browser automation Background: * configure driver = { type: 'chromedriver', showDriverLog: true } Scenario: try to login to github and then do a google search Given driver 'https://github.com/login' Then match driver.location == 'https://github.com/login' EROR: path: $, actual: null, How to deal with this behavior? 回答1: First make sure you are on the latest RC version 0.9.5.RC4