summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFlorian Apolloner <apollo13@apolloner.eu>2012-08-31 04:59:59 -0700
committerFlorian Apolloner <apollo13@apolloner.eu>2012-08-31 04:59:59 -0700
commit785980d30e263db621282b69ba40e636dee1a82d (patch)
tree9b3e632d3eaf239b090d25f6739e3e87fbe4e4cf /docs
parentfc8185493408c8d444ee223d1bc5e7175b01181d (diff)
parentbfa3d5af34937eef52dc4cfb22e831ff4a720fe8 (diff)
Merge pull request #310 from juanpex/master
fix documentation testing of Selenium WebDriverWait
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/testing.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt
index 1f4c970d3e..c4c73733f5 100644
--- a/docs/topics/testing.txt
+++ b/docs/topics/testing.txt
@@ -2039,7 +2039,7 @@ out the `full reference`_ for more details.
self.selenium.find_element_by_xpath('//input[@value="Log in"]').click()
# Wait until the response is received
WebDriverWait(self.selenium, timeout).until(
- lambda driver: driver.find_element_by_tag_name('body'), timeout=10)
+ lambda driver: driver.find_element_by_tag_name('body'))
The tricky thing here is that there's really no such thing as a "page load,"
especially in modern Web apps that generate HTML dynamically after the