Skip to main content
No Result Found

ShadowRoot issue in Chrome 129+

Learn about issues with capturing ShadowRoot elements in Chrome 129+.

ShadowRoot elements may not capture correctly in Chrome 129+ due to the deprecation of the getInnerHTML API, affecting visual tests.

How to fix it?

  • Upgrade to the latest version of Percy CLI (≥ 1.30.5).
  • Update ShadowRoot declarations: Add serializable: true to ShadowRoot elements created with attachShadow to enable proper serialization.

This change ensures ShadowRoot elements are captured correctly during visual testing.

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 Check Circle