puppeteer: [Bug]: goto hangs on headless: false

Bug description

Steps to reproduce the problem: (it works without headless: false)

  1. launch puppeteer with headless
const browser = await puppeteer.launch({
      headless: false,
});
  1. use goto
const [page] = await browser.pages();
await page.goto(`http://localhost:5678/workflows/demo`);

Puppeteer version

18.1.0

Node.js version

v16.17.1

npm version

8.15.0

What operating system are you seeing the problem on?

Windows

Relevant log output

D:\test\node_modules\puppeteer\lib\cjs\puppeteer\common\LifecycleWatcher.js:167
    return new Errors_js_1.TimeoutError(errorMessage);
           ^

    at LifecycleWatcher._LifecycleWatcher_createTimeoutPromise (D:\test\node_modules\puppeteer\lib\cjs\puppeteer\common\LifecycleWatcher.js:167:12)
    at async Frame.waitForNavigation (D:\test\node_modules\puppeteer\lib\cjs\puppeteer\common\Frame.js:272:23)
    at async CDPPage.waitForNavigation (D:\test\node_modules\puppeteer\lib\cjs\puppeteer\common\Page.js:1146:16)
    at async Function.start (D:\test\dist\src\n8n.js:87:9)
    at async handleDocumentations (D:\test\dist\src\index.js:17:17)

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 24 (4 by maintainers)

Most upvoted comments

are you using puppeteer 19.2.2?