Commit 3cb87be4 3cb87be408ea0f04178efdfe79c08abb3b55b238 by Nicolas Perriault

Merge pull request #657 from mduvall/fix-forward-args

Fix forward args
2 parents 68df6a9b 683ea4d4
......@@ -366,7 +366,7 @@ Moves back a step in browser's history::
console.log(this.getCurrentUrl()); // 'http://foo.bar/2'
});
Also have a look at ``Casper.forward()``.
Also have a look at `forward()`_.
.. _casper_base64encode:
......
......@@ -885,7 +885,7 @@ Casper.prototype.fillXPath = function fillXPath(formSelector, vals, submit) {
*
* @return Casper
*/
Casper.prototype.forward = function forward(then) {
Casper.prototype.forward = function forward() {
"use strict";
this.checkStarted();
return this.then(function _step() {
......