get text from h1 Promise<string> protractor code example
Example: get text in protractor
page.clientRowName.getText().then(function (text) {
console.log(text);
});
page.clientRowName.getText().then(function (text) {
console.log(text);
});