Commit ed7c6e8a ed7c6e8abb65662bac9a77e077ca5868fddc1323 by Nicolas Perriault

added version note for Casper#waitForAlert()

1 parent 967070c9
......@@ -2032,6 +2032,8 @@ This can be used for better error messages or to conditionally ignore some timeo
**Signature:** ``waitForAlert(Function then[, Function onTimeout, Number timeout])``
.. versionadded:: 1.1-beta4
Waits until a `JavaScript alert <https://developer.mozilla.org/en-US/docs/Web/API/Window.alert>`_ is triggered. The step function will be passed the alert message in the ``response.data`` property::
casper.waitForAlert(function(response) {
......