locator.getText code example Example: get text in protractor page.clientRowName.getText().then(function (text) { console.log(text); });