Skipping the asset discovery browser download
Learn how to skip the default Chromium download and use your own Chromium version
You are viewing docs for the new @percy/cli. Most SDKs have been updated to utilize the new CLI, so check the appropriate SDK doc for instructions for your specific SDK!
Percy’s CLI (@percy/cli
) downloads a very specific revision Chromium (that we have tested & trust) for asset discovery. A Chromium browser is required for asset discovery.
To skip the browser download, you can specify the executable path to your own version of Chromium using an environment variable, or in the SDKs discovery launch-options
config.
Using an environment variable
$ export PERCY_BROWSER_EXECUTABLE="/path/to/chromium/executable"
$ set PERCY_BROWSER_EXECUTABLE="/path/to/chromium/executable"
# PowerShell
$ $Env:PERCY_BROWSER_EXECUTABLE="/path/to/chromium/executable"
In your config
This option can also be set in a Percy config file (.percy.yml
) instead:
version: 2
discovery:
launch-options:
executable: '/path/to/chromium/executable'
See the configuration docs for more info on the Percy config file (or run percy config --help
).
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
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!