Browse files

The timeout variable wasn't defined, which was a little confusing.

  • Loading branch information...
1 parent 08cf549 commit d55c54a5da241e294c1162a19a07ab3f59e58dc7 @epicserve epicserve committed Oct 30, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 docs/topics/testing.txt
View
1 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

0 comments on commit d55c54a

Please sign in to comment.