summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBrent O'Connor <epicserve@gmail.com>2012-10-30 16:19:31 -0700
committerBrent O'Connor <epicserve@gmail.com>2012-10-30 16:19:31 -0700
commitd55c54a5da241e294c1162a19a07ab3f59e58dc7 (patch)
tree7bc382389d7b3ea5a23140981e1e6a728f76ef3f /docs
parent08cf54990ae112083b159aa4e263c1f64f396f39 (diff)
The timeout variable wasn't defined, which was a little confusing.
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