diff --git a/with-playwright/test/test.js b/with-playwright/test/test.js index 16fbf95..9142931 100644 --- a/with-playwright/test/test.js +++ b/with-playwright/test/test.js @@ -20,7 +20,7 @@ const { chromium } = require("playwright-chromium"); }); const context = await browser.newContext(); const page = await context.newPage(); - await page.goto("https://example.com/", { waitUntil: "networkidle2" }); + await page.goto("https://example.com/", { waitUntil: "networkidle" }); await page.screenshot({ path: "test/example.png" }); await browser.close(); })();