Skip to main content
Transform your testing process with: Company-wide Licences, Test Observability & App Percy

Assets not captured

Assets fail to capture refers to a situation where the capturing or rendering process of assets on a web page fails due to authentication issues.

The most common reason assets fail to capture is due to authentication issues. As Percy re-renders the DOM in a browser outside of your test suite, providing authentication to the requests made by this browser may be necessary. The discovery configuration key in Percy’s SDKs offers several methods for authenticating requests, such as:

  • request-headers: An object containing HTTP headers to be sent for each request made during asset discovery
  • authorization: A username/password combo to authenticate requests for Percy
  • cookies: Cookies to use for discovery’s browser session

Reference Topic

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