How do we get an attribute value in selenium?
Question
How do we get an attribute value in selenium?
Answer
We can get attribute value by using getAttribute(value) method. It returns the value of the attribute passed as a parameter
š² Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.