Skip to content

Commit 2baef14

Browse files
committed
fix: correct typo in until_not docstring
1 parent ca3b7cf commit 2baef14

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

py/selenium/webdriver/support/wait.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ def until(self, method: Callable[[D], Union[Literal[False], T]], message: str =
138138
raise TimeoutException(message, screen, stacktrace)
139139

140140
def until_not(self, method: Callable[[D], T], message: str = "") -> Union[T, Literal[True]]:
141-
"""Wait until the method returns a value that is not False.
141+
"""Wait until the method returns a value that is False.
142142
143143
Calls the method provided with the driver as an argument until the
144-
return value does not evaluate to ``False``.
144+
return value evaluates to ``False``.
145145
146146
Parameters:
147147
-----------

0 commit comments

Comments
 (0)