Skip to main content
Experience faster, smarter testing with BrowserStack AI Agents. See what your workflow’s been missing. Explore now!
No Result Found
Connect & Get help from fellow developers on our Discord community. Ask the CommunityAsk the Community

Cache the asset discovery browser in CI

Learn how to cache the Percy CLI asset discovery browser in CI

This feature currently applies only when you use the Percy SDK on Percy Web projects.

Percy’s CLI (@percy/cli) downloads a specific browser (that we have tested & trust) for asset discovery. A Chromium browser is required for asset discovery. Normally this browser is installed once asset discovery is started.

You can automatically download this browser during the dependency install step (and cache those dependencies) by setting the following environment variable.

$ export PERCY_POSTINSTALL_BROWSER=true

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle