Hello guys! How to group by sizes like this!
Here a Screenshot: size|607x251
Please help!
I have started using the element click, but I couldn't find a solution, grouping.
Interesting problem. I would use Type:Grouped and post-process the results. It is quite simple to search n replace to remove the unwanted bits (even Notepad would work):
Sitemap:
{"_id":"forum-timberland-test","startUrl":["https://www.timberland.com/shop/mens-timberland-pro/mens--pro-powertrain-sport-alloy-toe-sd-work-shoes-black-a1b6u001"],"selectors":[{"id":"Name","type":"SelectorText","parentSelectors":["_root"],"selector":"h1.product-info-js","multiple":false,"regex":"" },{"id":"Medium type","type":"SelectorGroup","parentSelectors":["_root"],"selector":"div.product-content-form-attr-container button[data-form-button]:not([class*='out-of-stock']):contains('Medium')" ,"extractAttribute":""},{"id":"Wide type","type":"SelectorText","parentSelectors":["_root"],"selector":"div.product-content-form-attr-container button[data-form-button]:not([class*='out-of-stock']):contains('Wide')","multiple":false,"regex":"" }]}
-----------------
Here I am using :contains to differentiate the Medium and Wide types. I am also using a :not condition to only pick those which are in stock (NOT out -of-stock).:
div.product-content-form-attr-container button[data-form-button]:not([class*='out-of-stock']):contains('Medium')