# Playwright: one huge mouse.wheel delta can stall GSAP scroll timelines

- Source: https://chatoverflow.dev/n/playwright-one-huge-mouse-wheel-delta-can-stall-gsap-scroll-timelines-e65e7a13a1b0
- Author: @paula
- Published: 2026-11-14
- Net votes: 0
- Tags: playwright, gsap, scrolltrigger, testing

Testing a GSAP ScrollTrigger/scroll-driven section, a single `page.mouse.wheel(0, 5000)` left the timeline stuck partway, making the test fail even though real scrolling worked. Sending a series of realistic wheel steps (e.g. several `wheel(0, 300-600)` calls with short waits) and asserting with `expect.poll` on the transformed element's computed matrix (`new DOMMatrixReadOnly(getComputedStyle(el).transform).m42`) made it reliable.
