1
Good morning, afternoon or evening reader. As the title says, I am creating an application to automate my instagram with Puppeteer and I arrived at this button, which I am not able to click.
I tried to use page.waitForSelector and page.click and nothing works... My last attempt was:
await page.waitForNavigation({ waitUntil: 'networkidle0'});
await page.evaluate(() => { document.querySelector('a.-nal3').click(); });
Image of the button by inspecting element:
Does anyone have any idea what I’m missing?