gettext is not working 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);
});