I cannot get the pagination to work on the next page button.
At this url (https://www.zoro.com/search?q=snap-on&brand=Snap-On%20Industrial%20Brands%7CSNAP-ON%20INDUSTRIAL%20BRANDS) I cannot get the pagination to work on the next page button. I have the next button set as loop link. It stops after first page extraction.
-
Hi there,
Thank you for reaching out.
Please revise the XPath of the pagination loop into:
//li[@class="active"]/following-sibling::li[1]/a
The way to write this XPath can be found in this tutorial: How to handle pagination with page numbers?
Please sign in to leave a comment.
Comments
1 comment