How do you verify tooltip text using Protractor?
Question
How do you verify tooltip text using Protractor?
Answer
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) }