Check if a row of images has any changes

I used the code provided from the previous similar topic. However, since it has around 100+ images on the page I’m monitoring so it’s been giving me an uncomfortable amount of notifications so is there a way to monitor only the first row of the images?

The website link: https://jp.mercari.com/search?keyword=なめこ&order=desc&sort=created_time

Thank you so much in advance!

hello @ngoett, images’ src property can be monitored. check out https://distill.io/docs/web-monitor/what-is-visual-selector/#how-to-monitor-attribute-and-property-value-for-the-selected-element

the first 5 product images in the list can be selected using the following XPath:

//*[@data-testid="item-cell"][position() < 6]//img

you can increase or decrease the number 6 to get higher or lower number of images. cheers!

1 Like

Thank you so much for your help!