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
7ef2d11f
...
7ef2d11f8f19eb7a9124af5d0724a44dbd5d5d88
authored
2012-01-12 11:48:50 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
typo
1 parent
f0b8a38a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
docs
modules/casper.js
docs
@
e37ddaa4
Subproject commit e
59a29bd4edb7899894219c3b3f6d1a52f9c62af
Subproject commit e
37ddaa4dd0d94685f862bf229426924f26c1ada
...
...
modules/casper.js
View file @
7ef2d11
...
...
@@ -1105,7 +1105,8 @@ Casper.prototype.waitFor = function waitFor(testFx, then, onTimeout, timeout) {
/**
* Waits until a given resource is loaded
*
* @param String/Function test A function to test if the resource exists. A string will be matched against the resources url.
* @param String/Function test A function to test if the resource exists.
* A string will be matched against the resources url.
* @param Function then The next step to perform (optional)
* @param Function onTimeout A callback function to call on timeout (optional)
* @param Number timeout The max amount of time to wait, in milliseconds (optional)
...
...
Please
register
or
sign in
to post a comment