../../../../web-animations/resources/timing-utils.js"></script>
<body>
<div class="container"></div>

<script>
  waitForAnimationTime(document.getAnimations()[0], 1).then(takeScreenshot);
</script>
</body>
</html>