1 Answer

0 votes
by
We can verify tooltip text using protractor by fetching the value of ‘title’ attribute.

element(by.id("some")).getAttribute("title").then(function(tooltip){

console.log(tooltip)

}

element(by.id("some")).getAttribute("title").then(function(tooltip){

console.log(tooltip)

}

Related questions

0 votes
asked Apr 5, 2021 in Protractor by Robindeniel
0 votes
asked Apr 5, 2021 in Protractor by Robindeniel
0 votes
asked Apr 5, 2021 in Protractor by Robindeniel
...