Checks if the current url equals the given value.

Usage

Example

this.demoTest = function (client) {
  browser.assert.urlEquals('https://www.google.com');
};

Parameters

Name Type description
expected string

The expected url.

msg
Optional
string

Optional log message to display in the output. If missing, one is displayed by default.