Skip to content

Commit

Permalink
[py] Correct Docstring import in WebDriverWait example. Fixes #7780
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed Feb 28, 2020
1 parent 66d9320 commit 24ab1e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/selenium/webdriver/support/wait.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(self, driver, timeout, poll_frequency=POLL_FREQUENCY, ignored_excep
Example::
from selenium.webdriver.support.ui import WebDriverWait \n
from selenium.webdriver.support.wait import WebDriverWait \n
element = WebDriverWait(driver, 10).until(lambda x: x.find_element_by_id("someId")) \n
is_disappeared = WebDriverWait(driver, 30, 1, (ElementNotVisibleException)).\\ \n
until_not(lambda x: x.find_element_by_id("someId").is_displayed())
Expand Down

0 comments on commit 24ab1e5

Please sign in to comment.