Modern Web Testing and Automation with Puppeteer (Google I/O '19) puppeteer 성능 높이기 cosnt browser = await puppeteer.launch() it ('', async() => { const context = await browser.createIncognitoBrowserContext(); // ... await context.close() }) 브라우저의 새로운 시크릿 컨텍스트를 생성해서 테스팅 하는 것이 더 빠르다. 렌더링이 되기 전에 테스트를 돌리다 보면, 테스트가 실패하는 이슈가 발생하는데, 기본적인 해결책은 sleep을 넣어준다. await page.waitFor(1000) 그런데, 이 방식은 ..