From 2baef14afceb6790002197f135917f55fd88d99f Mon Sep 17 00:00:00 2001 From: songletli Date: Mon, 25 Aug 2025 16:06:45 +0800 Subject: [PATCH] fix: correct typo in until_not docstring --- py/selenium/webdriver/support/wait.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py/selenium/webdriver/support/wait.py b/py/selenium/webdriver/support/wait.py index 30c20fc862aa4..ef2599a0a70ad 100644 --- a/py/selenium/webdriver/support/wait.py +++ b/py/selenium/webdriver/support/wait.py @@ -138,10 +138,10 @@ def until(self, method: Callable[[D], Union[Literal[False], T]], message: str = raise TimeoutException(message, screen, stacktrace) def until_not(self, method: Callable[[D], T], message: str = "") -> Union[T, Literal[True]]: - """Wait until the method returns a value that is not False. + """Wait until the method returns a value that is False. Calls the method provided with the driver as an argument until the - return value does not evaluate to ``False``. + return value evaluates to ``False``. Parameters: -----------