Greetings!
So I'm trying to scrape product info from a website. Some of the pages have a set of options for selecting product size, then other pages have another set of options for colours within those sizes. I've managed to use an Element Click to go through the size options and get the info I want from pages with and without those options just fine. The problem is when I attempt to use another Element Click to go through the colours. It's doing weird things where it's scrolling back and forth through the colour options, and it isn't picking up all the data either. Can anyone tell me what I'm doing wrong?
Url: https://www.williams-sonoma.ca/staub-cast-iron-pumpkin-cocotte
Sitemap:
{"_id":"ws_scraper","startUrl":["https://www.williams-sonoma.ca/staub-cast-iron-pumpkin-cocotte"],"selectors":[{"id":"text_name","type":"SelectorText","parentSelectors":["_root"],"selector":"h1","multiple":false,"regex":"","delay":0},{"id":"text_sku","type":"SelectorText","parentSelectors":["click_colour"],"selector":"span[itemprop='sku']","multiple":false,"regex":"","delay":0},{"id":"text_fullprice","type":"SelectorText","parentSelectors":["click_colour"],"selector":"small","multiple":false,"regex":"","delay":0},{"id":"text_currentprice","type":"SelectorText","parentSelectors":["click_colour"],"selector":"span[itemprop='price']","multiple":false,"regex":"","delay":0},{"id":"html_summary","type":"SelectorHTML","parentSelectors":["_root"],"selector":"div#product-details-information-tab-content-container-0","multiple":false,"regex":"","delay":0},{"id":"html_dimensions","type":"SelectorHTML","parentSelectors":["_root"],"selector":"div#product-details-information-tab-content-container-1","multiple":false,"regex":"","delay":0},{"id":"html_care","type":"SelectorHTML","parentSelectors":["_root"],"selector":"div#product-details-information-tab-content-container-2","multiple":false,"regex":"","delay":0},{"id":"click_option","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"div.product-details-full","multiple":true,"delay":"2000","clickElementSelector":"label.product-views-option-tile-picker","clickType":"clickOnce","discardInitialElements":"discard-when-click-element-exists","clickElementUniquenessType":"uniqueText"},{"id":"text_option","type":"SelectorText","parentSelectors":["click_option"],"selector":".product-views-option-tile-label span","multiple":false,"regex":"","delay":0},{"id":"click_colour","type":"SelectorElementClick","parentSelectors":["click_option"],"selector":"div.product-line-sku-container, label.product-views-option-tile-label, div.product-views-option-color-label-header, #product-details-full-form div.product-views-price","multiple":true,"delay":"3000","clickElementSelector":"span.product-views-option-color-picker-box","clickType":"clickOnce","discardInitialElements":"discard-when-click-element-exists","clickElementUniquenessType":"uniqueHTMLText"},{"id":"text_colour","type":"SelectorText","parentSelectors":["click_colour"],"selector":"span.product-views-option-color-value","multiple":false,"regex":"","delay":0}]}