Skip to content

Commit

Permalink
Merge pull request #5487 from donaldpipowitch/patch-1
Browse files Browse the repository at this point in the history
updated puppeteer launch config
  • Loading branch information
Hypnosphi authored Feb 5, 2019
2 parents d5047cb + 39cf640 commit 49cbf77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/storyshots/storyshots-puppeteer/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const imageSnapshot = (customConfig = {}) => {
} else {
// add some options "no-sandbox" to make it work properly on some Linux systems as proposed here: https://github.com/Googlechrome/puppeteer/issues/290#issuecomment-322851507
browser = await puppeteer.launch({
args: ['--no-sandbox ', '--disable-setuid-sandbox'],
args: ['--no-sandbox ', '--disable-setuid-sandbox', '--disable-dev-shm-usage'],
executablePath: chromeExecutablePath,
});
}
Expand Down

0 comments on commit 49cbf77

Please sign in to comment.