Pagination Range for AJAX

Is there a way to set a page range for pagination? The site works the same as the AJAX pagination example. I try to use element click, but it never work out as intended. The site map is what I am trying to do, but add a way to set the range of pages. Example: Scraping pages 5 to 10.

Note - I researched (forums, youtube, examples) and try multiple diffferent methods before posting this forum.

https://webscraper.io/test-sites/e-commerce/ajax/computers/laptops

Sitemap:
{"_id":"testing","startUrl":["Web Scraper Test Sites"}]}

@monstertavern Hi. You can set the pre-defined page range pagination only as long as the targeted website supports it.