Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
113dcf68
...
113dcf68bc3c0faaa380803fdca90858f6e754f4
authored
2013-03-12 15:50:31 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
added docs for Casper#unwait(); version infos
1 parent
804c1160
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
docs/modules/casper.rst
docs/modules/casper.rst
View file @
113dcf6
...
...
@@ -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()``
...
...
Please
register
or
sign in
to post a comment