From 24ab1e52e7f203647919834b25c05bc7466a34db Mon Sep 17 00:00:00 2001 From: AutomatedTester Date: Fri, 28 Feb 2020 09:26:08 +0000 Subject: [PATCH] [py] Correct Docstring import in WebDriverWait example. Fixes #7780 --- py/selenium/webdriver/support/wait.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/selenium/webdriver/support/wait.py b/py/selenium/webdriver/support/wait.py index 7634374086e52..dce59616b8c90 100644 --- a/py/selenium/webdriver/support/wait.py +++ b/py/selenium/webdriver/support/wait.py @@ -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())