I'm trying to scrape some data from Version History modal window on AppStore.
For some reason Puppeteer ignores the request. That's how the screen I want to scrape looks:
What I've tried. I have a guess that maybe this modal window is not recognized as a popup.
await page.waitForSelector("div[data-test-we-modal=page-overlay]")
const link = await page.$('div[data-test-we-modal=page-overlay]')
const modalPromise = new Promise(x => page.once('popup', x));
await link.click()
const modal = await modalPromise;
await modal.waitForSelector('button[class=we-modal__close]')
await modal.click('button[class=we-modal__close]')