.assert.titleEquals() Suggest edits
Checks if the page title equals the given value.
Usage
Example
this.demoTest = function (client) {
browser.assert.titleEquals('https://www.google.com');
};
Parameters
Name | Type | description |
---|---|---|
expected |
string | The expect page title |
msg Optional |
string | Optional log message to display in the output. If missing, one is displayed by default. |