fix: 'sleep' function argument list
This commit is contained in:
@@ -19,7 +19,7 @@ def until(condition: typing.Callable[[WebDriver], bool], watch=True):
|
|||||||
pass
|
pass
|
||||||
if watch: WebDriverWait(driver, timeout).until_not(condition)
|
if watch: WebDriverWait(driver, timeout).until_not(condition)
|
||||||
|
|
||||||
def sleep(driver: WebDriver, seconds: float):
|
def sleep(seconds: float):
|
||||||
from common.jsonrpc2.server import connection
|
from common.jsonrpc2.server import connection
|
||||||
assert connection is not None and connection.closed is not None
|
assert connection is not None and connection.closed is not None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user