puppeteer waitFor is not a function 오류
2023. 1. 1.
puppeteer 5.3.0 버전부터 새로 생긴 waitForTimeout 함수로 대체하면 된다. const browser = await puppeteer.launch({ headless: false, ignoreHTTPSErrors: true }); // Open a new page in the browser const page = await browser.newPage(); // Navigate to a website await page.goto('https://example.com'); // await page.waitFor(1000) /* 삭제 */ await page.waitForTimeout(1000);