fix: 'sleep' function argument list
This commit is contained in:
1 parent
674e45712e
commit
299b98bc30
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user