Two element clicks?

Hi, I am scraping a website which requires the element click function for two uses - one is to click on each entry to scrape info from a popup, and the other is to paginate. I am able to do both on their own but I can't figure out how to make it so the scraper clicks on and scrapes all the entries from one page before paginating and doing the same for the next page.

When I try to do a "element click" within an "element click", it says the child does not match the parent selector.

This is the URL:

I want the country info from each company which is only accessible when you click on each entry.

This is the sitemap:

{"_id":"Enlit","startUrl":["https://www.enlit-europe.com/exhibition/exhibitor-list?&filters.status=Sponsor%20Top%2CSponsor%2CExhibitor%2CRaw%2CPavilion%2CStart-Up%2CEU%20Projects%2C&searchgroup=D7C477F9-exhibitors"],"selectors":[{"id":"Click box","parentSelectors":["_root"],"type":"SelectorElementClick","clickActionType":"real","clickElementSelector":".m-exhibitors-list__items__item--status-sponsortop a.m-exhibitors-list__items__item__header__title__link","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","delay":2000,"discardInitialElements":"do-not-discard","multiple":true,"selector":".mfp-content main"},{"id":"name","parentSelectors":["Click box"],"type":"SelectorText","selector":"h1.m-exhibitor-entry__item__header__title","multiple":false,"regex":""},{"id":"stand","parentSelectors":["Click box"],"type":"SelectorText","selector":"div.m-exhibitor-entry__item__header__stand","multiple":false,"regex":""},{"id":"country","parentSelectors":["Click box"],"type":"SelectorText","selector":"div.m-exhibitor-entry__item__body__contacts__address__flag","multiple":false,"regex":""},{"id":"Page","parentSelectors":["_root"],"type":"SelectorElementClick","clickActionType":"real","clickElementSelector":"a[element='pages'][data-page]","clickElementUniquenessType":"uniqueCSSSelector","clickType":"clickOnce","delay":2000,"discardInitialElements":"do-not-discard","multiple":true,"selector":"a[element='pages'][data-page]"}]}

Thank you so much in advance.

For this site, the exhibitor detail pages all have the URL https://www.enlit-europe.com/exhibitors/XXX where XXX is the company name. You can find out the XXX from the HTML source, but you don't really need to.

You can just start with the first company, Re-Empowered, then just click on > (Next page) to continue to the rest of the companies. That means you only need to worry about pagination.