Skip to content

v1.31.5-beta.1

Pre-release
Pre-release

Choose a tag to compare

@bs-shobhitkumar bs-shobhitkumar released this 12 Nov 13:16
· 49 commits to master since this release
074c9bf

Percy now fully supports asynchronous DOM serialization, enabling accurate snapshots of modern web applications that use dynamic resources like blob URLs and lazy-loaded images.

Key Improvements:

  • Blob URL Handling: Automatically detects, converts, and captures blob URLs (e.g., blob:http://...) used in images, videos, iframes, and other media elements
  • Lazy-Loaded Image Support: Resolves and captures lazy-loaded images before taking snapshots
  • Fully Async Pipeline: The entire DOM serialization process is now asynchronous, ensuring all dynamic resources are processed before snapshot completion

What Changed:

  • PercyDOM.serialize() is now an async function that returns a Promise
  • Blob URLs are automatically converted to Percy-hosted resources during serialization
  • Lazy-loaded images are resolved and their final sources are captured
  • All SDK integrations remain backward compatible (automation tools automatically handle Promise resolution per W3C WebDriver specification)

Full Changelog: v1.31.5-beta.0...v1.31.5-beta.1