Go back

How to: Set up pagination with page numbers using Element Click selector

Description:

Make sure to set the delay.

Sitemap:

{"_id":"web-scraper-element-click-pagination-buttons","startUrl":["https://webscraper.io/test-sites/e-commerce/ajax/computers/tablets"],"selectors":[{"id":"product-wrapper","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"div.thumbnail","multiple":true,"delay":"500","clickElementSelector":"button.page:nth-of-type(n+2)","clickType":"clickOnce","discardInitialElements":"do-not-discard","clickElementUniquenessType":"uniqueCSSSelector"},{"id":"name","type":"SelectorText","parentSelectors":["product-wrapper"],"selector":"a","multiple":false,"regex":"","delay":0},{"id":"price","type":"SelectorText","parentSelectors":["product-wrapper"],"selector":"h4.pull-right","multiple":false,"regex":"","delay":0},{"id":"reviews","type":"SelectorText","parentSelectors":["product-wrapper"],"selector":"p.pull-right","multiple":false,"regex":"","delay":0}]}

Was this page helpful?