We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03e5cd0 commit 29cddbdCopy full SHA for 29cddbd
client.py
playwright/_impl/_driver.py
@@ -36,4 +36,9 @@ def compute_driver_executable() -> Path:
36
# Prevent Python 3.7 from throwing on Linux:
37
# RuntimeError: Cannot add child handler, the child watcher does not have a loop attached
38
asyncio.get_event_loop()
39
- asyncio.get_child_watcher()
+ try:
40
+ asyncio.get_child_watcher()
41
+ except Exception:
42
+ # uvloop does not support child watcher
43
+ # see https://github.com/microsoft/playwright-python/issues/582
44
+ pass
0 commit comments