Skip to content

Commit e3d089f

Browse files
authored
Update wait.py
1 parent 2d98e3f commit e3d089f

File tree

1 file changed

+1
-2
lines changed
  • py/selenium/webdriver/support

1 file changed

+1
-2
lines changed

py/selenium/webdriver/support/wait.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ def __init__(
6969
>>>
7070
>>> # Wait until the element is no longer visible
7171
>>> is_disappeared = WebDriverWait(driver, 30, 1, (ElementNotVisibleException)).until_not(
72-
... lambda x: x.find_element(By.ID, "someId").is_displayed()
73-
... )
72+
... lambda x: x.find_element(By.ID, "someId").is_displayed())
7473
"""
7574
self._driver = driver
7675
self._timeout = float(timeout)

0 commit comments

Comments
 (0)