Quality is delighting customers
Hi,
You can try it with using "get_xpath_Count" function.
Thanks and regards
Amit Nimje :Infocepts PVT LTD
Thank you for response @ Amit Nimje Infocepts
You should start by clarifying what language you are using. This would determine the answer. If you are using Ruby then you could simply do this:
find_elements(:tag_name, 'a').size
The first part will find all elements on the page that has the tag name of 'a'. a is an anchor which is a link. The final part will return the count of the number returned.
© 2021 Created by Quality Testing.
Powered by