Hello all,
The site I'm trying to scrape has an infinite scroll with a show more button at the bottom that doesn't appear until after a couple of scroll downs. How can I scroll down through all the items, click the show more button, then scroll again to include the rest of the items?
Thanks!
Sitemap:
{"_id":"poterry_barn_dimensions","startUrl":["https://www.potterybarn.com/shop/outdoor/chaise+sectional+lounge-chair+bench+outdoor-lounge-furniture/producttype-m-product-type-ff00060f161b272e36fe2020-4/?cm_type=gnav&isx=0.0.0"],"selectors":[{"id":"show more","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"div.product-cell-container","multiple":false,"delay":2000,"clickElementSelector":".show-me-more button","clickType":"clickOnce","discardInitialElements":"do-not-discard","clickElementUniquenessType":"uniqueText"},{"id":"scroll","type":"SelectorElementScroll","parentSelectors":["show more"],"selector":"parent","multiple":true,"delay":2000},{"id":"name","type":"SelectorText","parentSelectors":["scroll"],"selector":"a span","multiple":true,"regex":"","delay":0}]}