give wait in puppeteer code example Example: puppeteer wait for div await page.waitForSelector('.myDiv')