So I have been using distill to monitor a specific item on a online retailer. A month a go I set up the monitor and was working fine. Now recently I am receiving this error. This is both on the chrome and distill servers.
I did notice that the config XPath text the @class sometimes changes. When I update the config it works for a while then starts failing with Selection Empty Error.
Firstly, welcome to Distill’s forums!
May I kindly understand what you are exactly trying to monitor on the page? We may be able to suggest a better configuration, if we know what you’re exactly interested in monitoring.
The selector is possibly an issue because of the class names are randomly generated strings.
I am monitoring the button S size on the page. In the XPATH data-autotag to equal pdp-saleable-size meaning the item is available. Right now since it is not available the data-autotag to equal pdp-sold-out-size.
WebPage Selector Image
I would really value any suggestions this is my first time trying it out and when it was working it was great! Any help would be appreciated!
The changes are working and have not had any failures! Thanks so much! I do have a quick question how were you able to find the CSS information? Is there any documentation you followed? Would like to know your process!
Although, I tried to find the selector manually, the easiest method will be to try using Distill’s web application. At this point in time, we have deployed a more robust algorithm to generate good CSS selectors for our web app.
In fact, the web-app generated an even better selector than the one I created manually!!