protractor get text from h1 element.all ManagedPromise 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);
});