fix: 'sleep' function argument list

This commit is contained in:
2026-04-22 17:06:39 +08:00
parent 674e45712e
commit 299b98bc30

View File

@@ -19,7 +19,7 @@ def until(condition: typing.Callable[[WebDriver], bool], watch=True):
pass
if watch: WebDriverWait(driver, timeout).until_not(condition)
def sleep(driver: WebDriver, seconds: float):
def sleep(seconds: float):
from common.jsonrpc2.server import connection
assert connection is not None and connection.closed is not None