How to scrape pagination and popup-link web site?

Hello dear friends,
I need to scrape this web site:
URL: https://iranfile.ir/search/آپارتمان/M4UwhgTgxgFgfgRjgDgHoCY4BYCsqAuEAriHISUA

it has dynamic pagination and show detail data by popup
how can i scrape it?