File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -90,15 +90,18 @@ own utility package for them.
90
90
The expected_conditions module contains a set of predefined conditions
91
91
to use with WebDriverWait.
92
92
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.
96
98
97
99
98
100
::
99
101
100
102
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
+
102
105
locator - used to find the element
103
106
returns the WebElement once it has the particular css class
104
107
"""
You can’t perform that action at this time.
0 commit comments