Covered in this doc
How to cache the
@percy/cliasset discovery browser in CI
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 env var:
$ export PERCY_POSTINSTALL_BROWSER=true
Updated over 1 year ago