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
c10669c1
...
c10669c14dfc65e787fd6caffe2946b858acc261
authored
2014-05-20 14:24:59 +0200
by
mickaelandrieu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
REFS #919 - Refactored casper.forward() to use phantomjs native goForward()
1 parent
c49f8a79
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
modules/casper.js
modules/casper.js
View file @
c10669c
...
...
@@ -913,11 +913,9 @@ Casper.prototype.fillXPath = function fillXPath(formSelector, vals, submit) {
Casper
.
prototype
.
forward
=
function
forward
()
{
"use strict"
;
this
.
checkStarted
();
return
this
.
then
(
function
_step
()
{
return
this
.
then
(
function
()
{
this
.
emit
(
'forward'
);
this
.
evaluate
(
function
_evaluate
()
{
history
.
forward
();
});
this
.
page
.
goForward
();
});
};
...
...
Please
register
or
sign in
to post a comment