The issue I am having is that when I monitor a part of the page, let’s say the button for the size S, I choose to monitor the outer html which has the codes for out of stock and in stock, but I still get random changes in the code, which then sends me a notification even though the size is not available. Sometimes it does it many times a day and it is annoying. I was thinking of using a condition, in particular if the text contains “size-in-stock”, then I would get a notification.
The thing is, I am not certain if the text is meant as only the text that is visual on the website, or if it includes the text in the code. This condition will work only if the condition monitors the text in the code, as “size-in-stock” will appear only there, not visually on the website.
Could you please help me correct any mistakes I’ve made in my approach?