You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Find more about them in [seleniumQuery Selectors wiki page.](https://github.com/seleniumQuery/seleniumQuery/wiki/seleniumQuery-Selectors)
104
104
105
+
<br>
106
+
107
+
###Waiting capabilities for improved Ajax testing
108
+
109
+
Other important feature is the leverage of `WebDriver`'s `FluentWait` capabilities **directly** in the element (no boilerplate code!) through the use of the `.waitUntil()` function:
110
+
111
+
```java
112
+
// WebDriver cannot natively detect the end of an Ajax call.
113
+
// To test your application's behavior, you can and should always work with the
114
+
// Ajax's expected effects, visible for the end user.
115
+
// Below is an example of a <div> that should be hidden as effect of an Ajax call.
116
+
// The code will hold until the modal is gone. If it is never gone, seleniumQuery
And, that's right, the `.is()` function above is your old-time friend that takes a selector as argument!
126
+
127
+
Check out what else `.waitUntil()` can do in the [seleniumQuery API wiki page](https://github.com/seleniumQuery/seleniumQuery/wiki/seleniumQuery-API).
128
+
129
+
<br>
130
+
105
131
###Flexible WebDriver builder system
106
132
107
133
How to setup the `WebDriver`? Simply use our builder. The driver will be instantiated only at the first use.
@@ -175,30 +201,6 @@ WebDriver myDriver = ...;
175
201
$.driver().use(myDriver);
176
202
```
177
203
178
-
179
-
###Waiting capabilities for improved Ajax testing
180
-
181
-
Other important feature is the leverage of `WebDriver`'s `FluentWait` capabilities **directly** in the element (no boilerplate code!) through the use of the `.waitUntil()` function:
182
-
183
-
```java
184
-
// WebDriver cannot natively detect the end of an Ajax call.
185
-
// To test your application's behavior, you can and should always work with the
186
-
// Ajax's expected effects, visible for the end user.
187
-
// Below is an example of a <div> that should be hidden as effect of an Ajax call.
188
-
// The code will hold until the modal is gone. If it is never gone, seleniumQuery
0 commit comments