How to find all the links on a webpage using Protractor?
Question
How to find all the links on a webpage using Protractor?
Answer
We can find all the links on a webpage using tagName βaβ. Usually all the links are formed with an anchor tag βaβ and all the links will have βhrefβ attribute with URL value.
π² Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.