summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/testing.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt
index f5fd4fe3e6..8fccf32946 100644
--- a/docs/topics/testing.txt
+++ b/docs/topics/testing.txt
@@ -2084,6 +2084,7 @@ out the `full reference`_ for more details.
def test_login(self):
from selenium.webdriver.support.wait import WebDriverWait
+ timeout = 2
...
self.selenium.find_element_by_xpath('//input[@value="Log in"]').click()
# Wait until the response is received