update: client.js now waits for websocket connection to be open

This commit is contained in:
2026-04-22 17:34:14 +08:00
parent cb771fbf80
commit 480f08b547
3 changed files with 5 additions and 4 deletions

View File

@@ -75,6 +75,3 @@ def setup(a: WebDriver, b: int, c: float, d: float):
attempts = b
timeout = c
interval = d
from common.jsonrpc2.server import connection
until(lambda _: connection is not None, watch=False)