diff options
Diffstat (limited to 'testing/web-platform/tests/tools/webdriver/webdriver/bidi/client.py')
-rw-r--r-- | testing/web-platform/tests/tools/webdriver/webdriver/bidi/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/web-platform/tests/tools/webdriver/webdriver/bidi/client.py b/testing/web-platform/tests/tools/webdriver/webdriver/bidi/client.py index 73bba55791..045bc048c4 100644 --- a/testing/web-platform/tests/tools/webdriver/webdriver/bidi/client.py +++ b/testing/web-platform/tests/tools/webdriver/webdriver/bidi/client.py @@ -205,7 +205,7 @@ class BidiSession: if not listeners: listeners = self.event_listeners.get(None, []) for listener in listeners: - await listener(data["method"], data["params"]) + asyncio.create_task(listener(data["method"], data["params"])) else: raise ValueError(f"Unexpected message: {data!r}") |