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
Copy file name to clipboardExpand all lines: grails-geb/README.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,18 +135,34 @@ the `container` from within your `ContainerGebSpec` to, for example, call `.copy
135
135
An Example of this can be seen in [ContainerSupport#createFileInputSource utility method](./src/testFixtures/groovy/grails/plugin/geb/support/ContainerSupport.groovy).
136
136
137
137
#### Timeouts
138
-
138
+
The following system properties exist to configure timeouts:
139
+
140
+
*`grails.geb.atCheckWaiting.enabled`
141
+
* purpose: if `at` checks should wait for the page to be in the expected state (uses configured waiting timeout values)
142
+
* type: boolean
143
+
* defaults to `false`
144
+
*`grails.geb.timeouts.retryInterval`
145
+
* purpose: how often to retry waiting operations
146
+
* type: Number
147
+
* defaults to `0.1` seconds
148
+
*`grails.geb.timeouts.waiting`
149
+
* purpose: amount of time to wait for waiting operations
150
+
* type: Number
151
+
* defaults to `5.0` seconds
139
152
*`grails.geb.timeouts.implicitlyWait`
140
153
* purpose: amount of time the driver should wait when searching for an element if it is not immediately present.
154
+
* type: int
141
155
* defaults to `0` seconds, which means that if an element is not found, it will immediately return an error.
142
156
* Warning: Do not mix implicit and explicit waits. Doing so can cause unpredictable wait times.
143
157
Consult the [Geb](https://groovy.apache.org/geb/manual/current/#implicit-assertions-waiting)
144
158
and/or [Selenium](https://www.selenium.dev/documentation/webdriver/waits/) documentation for details.
145
159
*`grails.geb.timeouts.pageLoad`
146
160
* purpose: amount of time to wait for a page load to complete before throwing an error.
161
+
* type: int
147
162
* defaults to `300` seconds
148
163
*`grails.geb.timeouts.script`
149
164
* purpose: amount of time to wait for an asynchronous script to finish execution before throwing an error.
0 commit comments