It is impossible to send launch arguments to the puppeteer instance.
See original GitHub issueHello, 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:
- Created 2 years ago
- Reactions:1
- Comments:9 (2 by maintainers)
Top 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 >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 FreeTop 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
Top GitHub Comments
Published in v3.2.1 🚀
puppeteer-cluster updated its version of puppeteer recently. I’ll update it on node-html-to-image. It should fix your problem 😄