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 ...@@ -2032,6 +2032,8 @@ This can be used for better error messages or to conditionally ignore some timeo
2032 2032
2033 **Signature:** ``waitForAlert(Function then[, Function onTimeout, Number timeout])`` 2033 **Signature:** ``waitForAlert(Function then[, Function onTimeout, Number timeout])``
2034 2034
2035 .. versionadded:: 1.1-beta4
2036
2035 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:: 2037 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::
2036 2038
2037 casper.waitForAlert(function(response) { 2039 casper.waitForAlert(function(response) {
......