[Bug]: goto hangs on headless: false
See original GitHub issueBug description
Steps to reproduce the problem: (it works without headless: false)
- launch puppeteer with headless
const browser = await puppeteer.launch({
headless: false,
});
- 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)
Issue Analytics
- State:
- Created a year ago
- Comments:23 (4 by maintainers)
Top Results From Across the Web
Why puppeteer page.goto() hangs? - Stack Overflow
I'm launching Puppeteer without any arguments, except headless: false . Why is await page.goto() method so problematic? It keeps giving me all ...
Read more >Getting Started with Headless Chrome - Chrome Developers
It's a way to run the Chrome browser in a headless environment. Essentially, running Chrome without chrome! It brings all modern web platform ......
Read more >Puppeteer | Puppeteer
Puppeteer runs in headless mode by default, but can be configured to run in full (non-headless) ... await page.goto('https://developers.google.com/web/');
Read more >Puppeteer documentation - DevDocs
If this option is true , the headless option will be set false . ... <Error>. Emitted when the page crashes. NOTE error...
Read more >Puppeteer causes Firefox to freeze because stdout/stderr ...
Bug 1734208 - [remote] Ignore stdout in Puppeteer if dumpio isn't used. ... (async () => { const browser = await puppeteer.launch({ 'headless':...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
are you using puppeteer 19.2.2?
@OrKoN unfortunately not. As soon as I go into the headless: false it hangs. Also with version 19.2.2