question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

It is impossible to send launch arguments to the puppeteer instance.

See original GitHub issue

Hello, I was wondering why I can’t pass any launch arguments to puppeteer, since the only option that sounds like allows you to do it, is puppeteerArgs, which type is LaunchOptions. There isn’t anywhere which allows me to pass a string array, such as:

await nodeHtmlToImage({
    args: ["--no-sandbox"]
    });

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
frinyvonnickcommented, Feb 8, 2022

Published in v3.2.1 🚀

1reaction
frinyvonnickcommented, Feb 6, 2022

puppeteer-cluster updated its version of puppeteer recently. I’ll update it on node-html-to-image. It should fix your problem 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

allow to pass a parameterized funciton as a string to page ...
Is it possible to pass a string to page.evaluate which can ... example.ts'), { }).code const browser = await puppeteer.launch() const page ...
Read more >
Error: Failed to launch the browser process puppeteer
What worked for me was: let browser = await puppeteer.launch({ executablePath: '/usr/bin/chromium-browser', args: [ '--disable-gpu', '--disable ...
Read more >
Launch Options - browserless docs
Browserless (both hosted and self-hosted) lets you send launch arguments by specifying them as query-string parameters.
Read more >
Puppeteer documentation - DevDocs
Puppeteer module provides a method to launch a Chromium instance. ... args <Array<string>> Additional arguments to pass to the browser instance.
Read more >
Web Scraping with a Headless Browser: A Puppeteer Tutorial
First, we launch a new headless browser instance, then we open a new page (tab) and navigate to the URL provided in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found