Page 1 of 1

Is there any function that use CSS Seletor to locate for mouse click?

Posted: 09 Aug 2019, 22:32
by warpdrive
Dear all, wish you a good day!

I've recently made some PMC's scripts to suffer on the amazon.com. I have question about mouse click: I want to click on the first 10 products of the Best Seller Section (image showed below), but the problem appeared when the position of the best seller products will be changed every day depend on customer buying, so I can't use Image Search to locate exactly where to click.
bestsellerproducts.png
bestsellerproducts.png (282.79 KiB) Viewed 238 times

I realize that CSS selector can help to do this, is there any function use CSS Selector? Or any opinion help I will appreciate so much!
bestsellerproducts_cssselector.png
bestsellerproducts_cssselector.png (378.35 KiB) Viewed 238 times

Re: Is there any function that use CSS Seletor to locate for mouse click?

Posted: 14 Aug 2019, 09:08
by Cerberus
Couldn't you do an image search for the "#1" etc. labels?