playwright/packages/playwright-core/src/protocol
Andrey Lushnikov 6f87955243
feat: introduce disableAnimations option for screenshots (#11870)
This option stops all kinds of CSS animations while doing screenshot:
- CSS animations
- CSS transitions
- Web Animations

Animations get different treatment depending on animation duration:
- finite animations are fast-forwarded to its end, issuing the
  `transitionend` event.
- Infinite animations are resetted to its beginning, and then
  resumed after the screenshot.

References #9938, fixes #11912
2022-02-09 12:52:11 -08:00
..
callMetadata.ts feat(trace-viewer): render wall time for each action (#9982) 2021-11-02 12:16:12 -07:00
channels.ts feat: introduce disableAnimations option for screenshots (#11870) 2022-02-09 12:52:11 -08:00
protocol.yml feat: introduce disableAnimations option for screenshots (#11870) 2022-02-09 12:52:11 -08:00
serializers.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
transport.ts chore: use ipc transport for out-of-process driver (#11826) 2022-02-02 21:26:45 -08:00
validator.ts feat: introduce disableAnimations option for screenshots (#11870) 2022-02-09 12:52:11 -08:00
validatorPrimitives.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00