check http status code using nightwatch : <p>how do I check the HTTP status code using nightwatch.js? I tried </p>

<pre><code>  browser.url(function (response) {
     browser.assert.equal(response.statusCode, 200);
  });
</code></pre>

<p>but of course that does not work.</p>
