标签:
Bases: object
Expect an alert to be present.
Bases: object
An expectation to locate an element and check if the selection state specified is in that state. locator is a tuple of (by, path) is_selected is a boolean
Bases: object
An expectation for the element to be located is selected. locator is a tuple of (by, path)
Bases: object
An expectation for checking if the given element is selected. element is WebElement object is_selected is a Boolean.”
Bases: object
An Expectation for checking an element is visible and enabled such that you can click it.
Bases: object
An expectation for checking the selection is selected. element is WebElement object
Bases: object
An expectation for checking whether the given frame is available to switch to. If the frame is available it switches the given driver to the specified frame.
Bases: object
An Expectation for checking that an element is either invisible or not present on the DOM.
locator used to find the element
Bases: object
An expectation for checking that there is at least one element present on a web page. locator is used to find the element returns the list of WebElements once they are located
Bases: object
An expectation for checking that an element is present on the DOM of a page. This does not necessarily mean that the element is visible. locator - used to find the element returns the WebElement once it is located
Bases: object
Wait until an element is no longer attached to the DOM. element is the element to wait for. returns False if the element is still attached to the DOM, true otherwise.
Bases: object
An expectation for checking if the given text is present in the specified element. locator, text
Bases: object
An expectation for checking if the given text is present in the element’s locator, text
Bases: object
An expectation for checking that the title contains a case-sensitive substring. title is the fragment of title expected returns True when the title matches, False otherwise
Bases: object
An expectation for checking the title of a page. title is the expected title, which must be an exact match returns True if the title matches, false otherwise.
Bases: object
An expectation for checking that an element, known to be present on the DOM of a page, is visible. Visibility means that the element is not only displayed but also has a height and width that is greater than 0. element is the WebElement returns the (same) WebElement once it is visible
Bases: object
An expectation for checking that an element is present on the DOM of a page and visible. Visibility means that the element is not only displayed but also has a height and width that is greater than 0. locator - used to find the element returns the WebElement once it is located and visible
webDriver API——第15部分Expected conditions Support
标签:
原文地址:http://www.cnblogs.com/hushaojun/p/4467678.html