Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #481 from epicserve/testing_docs_update

Added timeout local to selenium sample test

The timeout variable wasn't defined, which was a little confusing.
  • Loading branch information...
commit 9bf0eedba581ba66b8b8391a7e611d6cf7ef5448 2 parents 08cf549 + d55c54a
@ptone ptone authored
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 9bf0eed

Please sign in to comment.
Something went wrong with that request. Please try again.