We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ebef6c commit 46e75f3Copy full SHA for 46e75f3
README.md
@@ -199,6 +199,13 @@ Once the page has completed the navigation you can evaluate arbitrary script on
199
$value = $evaluation->getReturnValue();
200
```
201
202
+Sometime the script you evaluate will click a link or submit a form, in this case the page will reload and you
203
+will want to wait for the new page to reload.
204
+
205
+You can achieve this by using ``$page->evaluate('some js that will reload the page')->waitForPageReload()``.
206
+An example is available in [form-submit.php](./examples/form-submit.php)
207
208
209
210
#### Make a screenshot
211
0 commit comments