title: Karate UI Automation - Assertion fails with message "actual value is not JSON-like" for driver.title comparison
body: <p>I am trying to use karate for UI automation but I am stuck with one basic scenario where I am trying to validate the page title</p>
  
  <p>Below are my scenario steps:</p>
  
  <pre><code> Scenario: Validate page title
      Given driver 'https://google.com'
      And driver.maximize()
      Then match driver.title == 'Google'
  </code></pre>
  
  <p>When I run it, I get the following error:</p>
  
  <pre><code>assertion failed: path: $.title, actual: 'Google', expected: ''Google'', reason: actual value is not JSON-like abc.feature:16 - path: $.title, actual: 'Google', expected: ''Google'', reason: actual value is not JSON-like
  </code></pre>
  
  <p>And If I use:</p>
  
  <pre><code>Then match driver.title == Google
  </code></pre>
  
  <p>I get below error:</p>
  
  <pre><code>javascript evaluation failed: driver.title, null
  </code></pre>
  
  <p>Additional details:</p>
  
  <pre><code>karate-junit4 = 9.4.0
  * configure driver = { type: 'chrome', showDriverLog: false }
  </code></pre>
  
  <p>As suggested in the comments, used  0.9.5.RC3 as well.
  Received this error:</p>
  
  <pre><code>assertion failed: path: $, actual: '', expected: 'Google', reason: not equal
  </code></pre>
  
  <p>Can anyone point out If I am missing anything here? </p>