Go back

How to: Set up pagination with "Next" button using Link selector

Description:

Multiple parent selectors can be selected by holding "Ctrl" button on your keyboard.
It’s better to select "Next" button on the second page. The reason being that "Previous" button will be active as well; therefore, the select tool will find a selector that is unique only for the "Next" button.

Sitemap:

{"_id":"web-scraper-pagination-next","startUrl":["https://webscraper.io/test-sites/e-commerce/static/computers/tablets"],"selectors":[{"id":"next-pagination","type":"SelectorLink","parentSelectors":["_root","next-pagination"],"selector":"a[aria-label='Next »']","multiple":true,"delay":0},{"id":"link","type":"SelectorLink","parentSelectors":["_root","next-pagination"],"selector":"a.title","multiple":true,"delay":0}]}

Was this page helpful?