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
204ebcc8
...
204ebcc8ed775f7a050881edcc07afa5eb30cc2a
authored
2011-10-15 18:44:56 +0200
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
typos, formatting
1 parent
d1b1b187
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
16 deletions
casper.js
casper.js
View file @
204ebcc
/*!
* Casper is a navigation utility for PhantomJS - http://github.com/n1k0/casperjs
* Casper is a navigation utility for PhantomJS.
*
* Documentation: http://n1k0.github.com/casperjs/
* Repository: http://github.com/n1k0/casperjs
*
* Copyright (c) 2011 Nicolas Perriault
*
...
...
@@ -24,21 +27,7 @@
*/
(
function
(
phantom
)
{
/**
* Main Casper class. Available options are:
*
* Name | Type | Default | Description
* ——————————————————+——————————+—————————+————————————————————————————————————————————————————————————————————————
* clientScripts | Array | [] | A collection of script filepaths to include to every page loaded
* faultTolerant | Boolean | true | Catch and log exceptions when executing steps in a non-blocking fashion
* logLevel | String | "error" | Logging level (see logLevels for available values)
* onDie | function | null | A function to be called when Casper#die() is called
* onError | function | null | A function to be called when an "error" level event occurs
* onLoadError | function | null | A function to be called when a requested resource cannot be loaded
* onPageInitialized | function | null | A function to be called after WebPage instance has been initialized
* page | WebPage | null | An existing WebPage instance
* pageSettings | Object | {} | PhantomJS's WebPage settings object
* timeout | Number | null | Max timeout in milliseconds
* verbose | Boolean | false | Realtime output of log messages
* Main Casper object.
*
* @param Object options Casper options
* @return Casper
...
...
Please
register
or
sign in
to post a comment