Skip to content

Commit 3f506aa

Browse files
committed
Have "assert_text_not_visible()" return True if successful
1 parent 566865a commit 3f506aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6174,7 +6174,8 @@ def assert_text_not_visible(self, text, selector="html",
61746174
timeout = settings.SMALL_TIMEOUT
61756175
if self.timeout_multiplier and timeout == settings.SMALL_TIMEOUT:
61766176
timeout = self.__get_new_timeout(timeout)
6177-
self.wait_for_text_not_visible(text, selector, by=by, timeout=timeout)
6177+
return self.wait_for_text_not_visible(
6178+
text, selector, by=by, timeout=timeout)
61786179

61796180
############
61806181

0 commit comments

Comments
 (0)