mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00

When `<source>` or `srcset=` are involved, the actual image src is determinted at runtime based on factors like `devicePixelRatio` and media queries that depend on width/height. Since these factors may differ in the Trace Viewer itself, we should preserve the `currentSrc`, use it as an actual `src`, and disable various `<source>` and `srcset=`.
playwright-core
This package contains the no-browser flavor of Playwright.