Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/config custom chrome executable path #3518

Conversation

jhswart
Copy link
Contributor

@jhswart jhswart commented May 1, 2018

Issue:
When running a custom install of Chrome, and not downloading Chromium (with the PUPPETEER_SKIP_CHROMIUM_DOWNLOAD, image snapshots are unable to start up. I ran across this issue when running Storyshots inside a Docker container already containing a Chrome installation.

What I did

Add a config parameter to use a Chrome executable path, instead of downloading Chromium inside of Puppeteer. If no parameter is selected, defaults to undefined and operates as normal.

How to test

Add a parameter and check if it references the correct Chrome. In my case:
/usr/local/bin/chrome

@Hypnosphi Hypnosphi merged commit 9f710f1 into storybookjs:master May 2, 2018
@Hypnosphi
Copy link
Member

released as 4.0.0-alpha.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants