Add small delay before screenshot is taken

This commit is contained in:
Darren Burns
2022-10-27 10:52:32 +01:00
parent ceed9186c9
commit 8f888e7232

View File

@@ -641,6 +641,7 @@ class App(Generic[ReturnType], DOMNode):
await asyncio.sleep(0.02)
await app._animator.wait_for_idle()
await asyncio.sleep(0.05)
if screenshot:
self._screenshot = self.export_screenshot(