Pagination - a major head scratcher!

I have exhausted my abilities to setup the pagination for this site.
https://doctors.cpso.on.ca/?search=general
(result of clicking Submit in the search form)

I am not even sure which sitemap would be useful for this thread. but I have found limited success with element click - looping through 2 pages only.

{"_id":"cpso","startUrl":["CPSO - Doctor Search Results nav","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","delay":2000,"discardInitialElements":"discard-when-click-element-exists","id":"page","multiple":true,"parentSelectors":["_root","page"],"selector":"div.doctor-search-paging-wrap","type":"SelectorElementClick"}]}

@eeh10uno0 Hi, sitemaps JSON in invalid.

Please, when pasting the sitemap apply the 'preformatted text' option.