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
ed11b8d0
...
ed11b8d0ab0214a579d08362f15246b7dbc062f5
authored
2012-12-22 04:56:40 -0800
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge pull request #332 from mirlord/master
Fixed: onPageInitialized callback
2 parents
f7110def
9842c831
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
modules/casper.js
modules/casper.js
View file @
ed11b8d
...
...
@@ -2016,7 +2016,7 @@ function createPage(casper) {
page
.
onInitialized
=
function
onInitialized
()
{
casper
.
emit
(
'page.initialized'
,
this
);
if
(
utils
.
isFunction
(
casper
.
options
.
onPageInitialized
))
{
this
.
log
(
"Post-configuring WebPage instance"
,
"debug"
);
casper
.
log
(
"Post-configuring WebPage instance"
,
"debug"
);
casper
.
options
.
onPageInitialized
.
call
(
casper
,
page
);
}
};
...
...
Please
register
or
sign in
to post a comment