Pagination problem elementclick

Describe the problem.

My sitemap does not scrape anything for given URL if Click selector is "a.ui-paginator-page". If it is "a.ui-paginator-next", then the data is scraped.
Actually, it iterates through all the pages, till no new elements are found, terminates and no data scraped.
But when I change Click selector of "pag" from "a.ui-paginator-page" to "a.ui-paginator-next", it exactly clicks 1 time on "Dalsia" (equivalent of Next) and terminates and the data IS actually retrieved.

I am really trying hard to understand this strange behaviour, but to no avail. Why the click on Next is OK, but clicking on numbers actually is not? As for clicking numbers, completly iterating through all pages, no results are scraped.

Url: https://portal.unionzp.sk/onlinepobocka/pub/zoznam-dlznikov

Sitemap:
{"_id":"union","startUrl":["https://portal.unionzp.sk/onlinepobocka/pub/zoznam-dlznikov"],"selectors":[{"id":"pag","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"div.ui-datatable-tablewrapper","multiple":false,"delay":"1800","clickElementSelector":"a.ui-paginator-page","clickType":"clickOnce","discardInitialElements":"do-not-discard","clickElementUniquenessType":"uniqueText"},{"id":"tab","type":"SelectorTable","parentSelectors":["_root","pag"],"selector":"table","multiple":true,"columns":[{"header":"Priezvisko a Meno / Názov","name":"Priezvisko a Meno / Názov","extract":true},{"header":"IČO","name":"IČO","extract":true},{"header":"Pohľadávka","name":"Pohľadávka","extract":true},{"header":"Nárok ZS","name":"Nárok ZS","extract":true},{"header":"Adresa","name":"Adresa","extract":true},{"header":"Námietka","name":"Námietka","extract":true}],"delay":0,"tableDataRowSelector":"tr.ui-widget-content","tableHeaderRowSelector":"#j_idt163\:table_head tr"}]}

I suspect that there is some bug in webscraper, as this really does not make any sense to me.
Thanks for advice.

You are having some trouble due to the fact that you have selected the 'Click Type ' as 'Click Once' and not 'Click More'. Because of this the Selector only clicks the button once and stops.

Moreover, you can just use the table selector as a Child selector to the Click Selector to make your sitemap less complicated.

Here is a working version:

{"_id":"union","startUrl":["https://portal.unionzp.sk/onlinepobocka/pub/zoznam-dlznikov"],"selectors":[{"id":"pag","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"div.content","multiple":true,"delay":"1500","clickElementSelector":"a.ui-paginator-next","clickType":"clickMore","discardInitialElements":"do-not-discard","clickElementUniquenessType":"uniqueCSSSelector"},{"id":"tab","type":"SelectorTable","parentSelectors":["pag"],"selector":"table","multiple":true,"columns":[{"header":"Priezvisko a Meno / Názov","name":"Priezvisko a Meno / Názov","extract":true},{"header":"IČO","name":"IČO","extract":true},{"header":"Pohľadávka","name":"Pohľadávka","extract":true},{"header":"Nárok ZS","name":"Nárok ZS","extract":true},{"header":"Adresa","name":"Adresa","extract":true},{"header":"Námietka","name":"Námietka","extract":true}],"delay":0,"tableDataRowSelector":"tr.ui-widget-content","tableHeaderRowSelector":"#j_idt163\\:table_head tr"}]}

Thank you very much, however, I am afraid, that there is a problem. Scraping terminates too soon (there is more than 3000 pages, here, but it does no more than 200 of them) and even after then, nothing is stored at all. As export to csv returns empty document (just single header row).
I managed to get the data by other means, so it is no longer critical to me, however, but I'd like to know why the scraper still extracts nothing, even that it terminates early.
I am really interested, on why it behaves this way? I really spent a lot of time various combinations, prior to your sitemap, you posted, and no success. Perhaps, it just cannot handle this kind of sitemap?