Replies: 1 comment 1 reply
-
Hi @basickarl! I'm Dosu and I’m helping the storybook team. On macOS, the BROWSER environment variable needs to match the exact application bundle name. To open Storybook in Chrome (not Chromium), set the variable to BROWSER="Google Chrome" instead of "chrome" before starting Storybook. This should launch the Chrome app as expected. There’s no Storybook-specific mapping for "chrome" on macOS—using the full app name is required due to how the underlying system command works. More details are in the docs, though they currently don’t mention this macOS-specific detail. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
My default browser is Firefox however I'd like for Storybook to open Chrome.
https://storybook.js.org/docs/configure/environment-variables#using-environment-variables-to-choose-the-browser
Chrome isn't listed there and it's not working setting it to "chrome".
Also no, I do not wish to use Chromium.
Reproduction link
Reproduction steps
Use the
BROWSER="chrome"
before starting up storybook.This results in my default browser opening up instead. I also have VSCodes workbench.externalBrowser set to chrome.
System
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions