Description:
To prevent Web Scraper from clicking on unavailable options, find an attribute or class that is unique to them and include them in ":not()" jQuery selector.
Sitemap:
{"_id":"web-scraper-button-variation","startUrl":["https://webscraper.io/test-sites/e-commerce/ajax/product/10"],"selectors":[{"clickActionType":"real","clickElementSelector":"button.btn","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","delay":0,"discardInitialElements":"discard-when-click-element-exists","id":"button-click","multiple":true,"parentSelectors":["_root"],"selector":"div.wrapper","type":"SelectorElementClick"},{"id":"price","multiple":false,"parentSelectors":["button-click"],"regex":"","selector":"h4.price","type":"SelectorText"},{"id":"hdd","multiple":false,"parentSelectors":["button-click"],"regex":"","selector":"button.active","type":"SelectorText"}]}