How to use pagination correctly?

I'm scraping all the cards on this site perfectly. But it only scrapes the cards on the 1st page, how can I make it change to page number 2 after all the cards have been scraped? Thanks

Url: Lorcana Cards – Complete Card List + Search – Lorcana Player

Sitemap:
{id:"lorcana_cards"}`

{"_id":"lorcan","startUrl":["https://lorcanaplayer.com/cards"],"selectors":[{"id":"wrapper","multiple":true,"parentSelectors":["_root"],"selector":"div.gb-container-686f680e","type":"SelectorElement"},{"clickActionType":"real","clickElementSelector":"a.next","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","delay":2000,"discardInitialElements":"do-not-discard","id":"pages","multiple":true,"parentSelectors":["_root"],"selector":"a.next","type":"SelectorElementClick"},{"id":"title","multiple":false,"parentSelectors":["wrapper"],"regex":"","selector":".gb-headline a","type":"SelectorText"}]}