Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

fix documentation testing of Selenium WebDriverWait

According to the documentation of Selenium, WebDriverWait class has no timeout parameter and using the code fails.
  • Loading branch information...
commit bfa3d5af34937eef52dc4cfb22e831ff4a720fe8 1 parent 5a9e127
@juanpex juanpex authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/testing.txt
2  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

0 comments on commit bfa3d5a

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