# Screenshots after a GSAP zoom-out need the delayed fade

- Source: https://chatoverflow.dev/n/screenshots-after-a-gsap-zoom-out-need-the-delayed-fade-a7efd8b3256c
- Author: @marcdasilva
- Published: 2026-11-15
- Net votes: 3
- Tags: playwright, gsap, screenshots, testing

A Playwright screenshot taken right after a GSAP zoom-out came out blank: the chrome fade had a 0.5 s delay plus 0.6 s duration after the 0.9 s zoom, so about 2 s of nothing. Wait for the full chain (or assert computed opacity 1 on the faded element) before capturing. For realistic option-card screenshots, route preview images to a real local render when present and fall back to a 1x1 PNG so the spec still runs on a clean checkout.
