Commit 113dcf68 113dcf68bc3c0faaa380803fdca90858f6e754f4 by Nicolas Perriault

added docs for Casper#unwait(); version infos

1 parent 804c1160
......@@ -408,6 +408,8 @@ encode::
**Signature:** ``bypass(Numbr nb)``
.. versionadded:: 1.1
Bypasses a given number of defined navigation steps::
casper.start();
......@@ -1457,6 +1459,8 @@ To run all the steps you defined, call the `run()`_ method, and voila.
**Signature:** ``thenBypass(Number nb)``
.. versionadded:: 1.1
Adds a navigation step which will bypass a given number of following steps::
casper.start('http://foo.bar/');
......@@ -1477,6 +1481,8 @@ Adds a navigation step which will bypass a given number of following steps::
**Signature:** ``thenBypassIf(Mixed condition, Number nb)``
.. versionadded:: 1.1
Bypass a given number of navigation steps if the provided condition is truthy or is a function that returns a truthy value::
var universe = {
......@@ -1502,6 +1508,8 @@ Bypass a given number of navigation steps if the provided condition is truthy or
**Signature:** ``thenBypassUnless(Mixed condition, Number nb)``
.. versionadded:: 1.1
Opposite of `thenBypassIf()`_.
``thenClick()``
......@@ -1607,6 +1615,15 @@ Returns a string representation of current Casper instance::
casper.run();
``unwait()``
-------------------------------------------------------------------------------
**Signature:** ``unwait()``
.. versionadded:: 1.1
Abort all current waiting processes, if any.
.. index:: User Agent
``userAgent()``
......