I am running into some trouble however iterating through item variations.
The website I am attempting to work with is here…
I am working off a tutorial on your website.
https://www.webscraper.io/how-to-video/button-variation
my sitemap export is
{"_id":"test-sitemap","startUrl":["https://www.brilliantearth.com/Petite-Twisted-Vine-Diamond-Ring-(1/8-ct.-tw.)-Rose-Gold-BE1D54-3821857/"],"selectors":[{"id":"metal-link","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"body","multiple":true,"delay":"1000","clickElementSelector":"ul.list-inline.ir249-pdp-metals-select.mb0","clickType":"clickOnce","discardInitialElements":"discard-when-click-element-exists","clickElementUniquenessType":"uniqueCSSSelector"},{"id":"product-price","type":"SelectorText","parentSelectors":["metal-link"],"selector":"p.setting-only-price","multiple":false,"regex":"","delay":0},{"id":"product-title","type":"SelectorText","parentSelectors":["metal-link"],"selector":"h1","multiple":false,"regex":"","delay":0},{"id":"product-metal","type":"SelectorText","parentSelectors":["metal-link"],"selector":"p#pdp_metal","multiple":false,"regex":"","delay":0},{"id":"product-button","type":"SelectorText","parentSelectors":["metal-link"],"selector":"a.value.active.change_track_info","multiple":false,"regex":"","delay":0}]}
I also attached a screenshot of the code that is controlling the buttons.
Everything seems to be correct but when I test the sitemap it does not seem to step through the variation buttons like it’s supposed to. It seems to be almost identical to the example.
Any ideas what I might be doing wrong.
This is a critical step and I could use some assistance.