Struggling to retrieve the value of the isPermaLink attribute using protractor, I have attempted various methods.
While successful in fetching values from other elements, the isPermaLink always returns null.
HTML
<guid isPermaLink="false">public-anger-grows-over-coronavirus-123829864.html</guid>
Code
const isPerma = element(by.xpath('//guid[@isPermaLink]')).
console.log('isPermaLink value ', await isPerma.getAttribute('isPermaLink'));
Interestingly, when trying with other elements like the source tag, I am able to retrieve the value.
<source url="http://www.ap.org/">Associated Press</source>
Element located in dev tools https://i.stack.imgur.com/A2qDP.png
Accessing Yahoo Rss feed: