File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,15 +90,18 @@ own utility package for them.
9090The expected_conditions module contains a set of predefined conditions
9191to use with WebDriverWait.
9292
93- You can always create your own conditions when none of the previous convenience
94- methods fit your requirements. You only need to create a class
95- which __call__ method returns False when the condition isn't meet.
93+ **Custom Wait Conditions **
94+
95+ You can also create custom wait conditions when none of the previous convenience
96+ methods fit your requirements. A custom wait condition can be created using a class
97+ with `__call__ ` method which returns `False ` when the condition doesn't match.
9698
9799
98100::
99101
100102 class element_has_css_class(object):
101- """ An expectation for checking that an element has a particular css class.
103+ """An expectation for checking that an element has a particular css class.
104+
102105 locator - used to find the element
103106 returns the WebElement once it has the particular css class
104107 """
You can’t perform that action at this time.
0 commit comments