Skip to content

Commit 9aa794f

Browse files
committed
[py] Fix docstring
1 parent 95b5594 commit 9aa794f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

py/selenium/webdriver/support/expected_conditions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,8 @@ def text_to_be_present_in_element(locator: Tuple[str, str], text_: str) -> Calla
388388
>>> from selenium.webdriver.common.by import By
389389
>>> from selenium.webdriver.support.ui import WebDriverWait
390390
>>> from selenium.webdriver.support import expected_conditions as EC
391-
>>> is_text_in_element = WebDriverWait(driver, 10).until(EC.text_to_be_present_in_element(
392-
(By.CLASS_NAME, "foo"), "bar")
391+
>>> is_text_in_element = WebDriverWait(driver, 10).until(
392+
EC.text_to_be_present_in_element((By.CLASS_NAME, "foo"), "bar")
393393
)
394394
"""
395395

0 commit comments

Comments
 (0)