Age old pagination issue

The next page button on a site goes to page 43. The array of page selectors grows so you never get all the pages. How can the pagination change the 'page =' number?

https://propertylink.estatesgazette.com/find-an-agent?page=43

Sitemap:
Sitemaps
Sitemap eg_agent_list
Create new sitemap

{"_id":"eg_agent_list","startUrl":["https://propertylink.estatesgazette.com/find-an-agent/"],"selectors":[{"id":"pagination","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"div.c-pagination--large nav","multiple":false,"delay":"2000","clickElementSelector":"li.c-pagination__item:nth-of-type(10) a.c-pagination__link","clickType":"clickOnce","discardInitialElements":false,"clickElementUniquenessType":"uniqueText"},{"id":"element","type":"SelectorElement","parentSelectors":["_root"],"selector":"div.agents__box:nth-of-type(n+3)","multiple":true,"delay":0},{"id":"agent_name","type":"SelectorText","parentSelectors":["element"],"selector":"h4.js-advertiser-name","multiple":false,"regex":"","delay":0}]}

Easiest way is to change your start url, in metadata to

https://propertylink.estatesgazette.com/find-an-agent?page=[1-43]

remember to remove all pagination from the map before running.

However, if you wanted to do it without using the URL Range mentioned above. This is the sitemap that would do it for you. I' m not sure using a:(contains:">") was the best selector to use (@iconoclast can correct me) but it works!

{"_id":"eg_agent_list","startUrl":["https://propertylink.estatesgazette.com/find-an-agent/"],"selectors":[{"id":"pagination","type":"SelectorLink","parentSelectors":["_root","pagination"],"selector":"a:contains(\">\")","multiple":false,"delay":"2000"},{"id":"element","type":"SelectorElement","parentSelectors":["_root","pagination"],"selector":"div.agents__box","multiple":true,"delay":0},{"id":"agent_name","type":"SelectorText","parentSelectors":["element"],"selector":"h4.js-advertiser-name","multiple":false,"regex":"","delay":0},{"id":"Property Count","type":"SelectorText","parentSelectors":["element"],"selector":"span.agents__result-listing-count","multiple":false,"regex":"","delay":0}]}

Thanks bretfeig, I now understand the [1-43] notation.