Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

When headless is true, Puppeteer's timeout of 30000ms still refers to the maximum amount of time that Puppeteer will wait for an action to complete before throwing an error. However, since there is no visible browser window in headless mode, the timeout may be slightly faster as certain actions, like page rendering or DOM manipulation, may be faster without the need to render graphics.