diff options
| author | Brent O'Connor <epicserve@gmail.com> | 2012-10-30 16:19:31 -0700 |
|---|---|---|
| committer | Brent O'Connor <epicserve@gmail.com> | 2012-10-30 16:19:31 -0700 |
| commit | d55c54a5da241e294c1162a19a07ab3f59e58dc7 (patch) | |
| tree | 7bc382389d7b3ea5a23140981e1e6a728f76ef3f /docs | |
| parent | 08cf54990ae112083b159aa4e263c1f64f396f39 (diff) | |
The timeout variable wasn't defined, which was a little confusing.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/testing.txt | 1 |
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 |
