How can i disable puppeteer dev profile.
See original GitHub issueEnvironment: Puppeteer version: 0.11.0 Platform / OS version: AWS Lambda Node.js version: 6.10
Puppeteer Arguments
puppeteer.launch({
args: ['--disable-gpu', '--no-sandbox', '--single-process',
'--disable-web-security', '--disable-dev-profile']
});
Hello,
We are using puppeteer on AWS Lambda. It handles over 10 million requests every month.
When we were trying to handle concurrent requests, puppeteer returned this error:
UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1383):
Error: ENOSPC: no space left on device, mkdtemp '/tmp/puppeteer_dev_profile-XXXXXX'
I tried to disable dev profile with the --disable-dev-profile
argument. But it doesn’t work.
How can I do it?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:11 (2 by maintainers)
Top Results From Across the Web
set browser profile settings via puppeteer - node.js
1 Answer 1 · either by using the executablePath and userDataDir options on puppeteer.launch ; · or applying the --user-data-dir= chrome launch ...
Read more >Puppeteer | Puppeteer
Puppeteer is a Node.js library which provides a high-level API to control Chrome/Chromium over the DevTools Protocol. Puppeteer runs in headless mode by ......
Read more >Puppeteer documentation - DevDocs
Puppeteer communicates with the browser using DevTools Protocol. ... Pass 0 to disable timeout. dumpio <boolean> Whether to pipe the browser process stdout ......
Read more >Chromium Docs - User Data Directory
The user data directory contains profile data such as history, bookmarks, ... [Chrome Dev] ~/.config/google-chrome-unstable; [Chromium] ~/.config/chromium.
Read more >Web Scraping with a Headless Browser: A Puppeteer Tutorial
In this article, Toptal Freelance JavaScript Developer Nick Chikovani shows how easy it is to ... Puppeteer creates a temporary directory for its...
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
@jborden13
Here is my solution. The advantage of this is that you can run multiple puperteer instances in parallel. Because only the puppeteer_dev_profile of the current instance is deleted after the browser is closed.
@bahattincinic can you share your code that you used to clear the /tmp folder? I’ve tried it a million different ways and still am constantly running into: