DEV Community

MOMO
MOMO

Posted on

Answer: How to maximize browser window using puppeteer?

This works fine for me.

await puppeteer.launch({ 
      headless: false,
      defaultViewport: null,
      args: ['--start-maximized'] 
});

Top comments (0)