I have a product listing page with 1-n products there. Unfortunately the source is not really automation friendly, means, all products on the listing are equal regarding html attributes. The only way they differ are the prices and of course the product names.
The source looks like this (abstract):
a href=“https://testurl.html” class=“product-item-link”>
It search xpath address that contains the value, is that right?
also is there any method to click an object based on text that displayed in html with random generated xpath? (Click an id number, the number in html as a pointer)