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:: ...@@ -366,7 +366,7 @@ Moves back a step in browser's history::
366 console.log(this.getCurrentUrl()); // 'http://foo.bar/2' 366 console.log(this.getCurrentUrl()); // 'http://foo.bar/2'
367 }); 367 });
368 368
369 Also have a look at ``Casper.forward()``. 369 Also have a look at `forward()`_.
370 370
371 .. _casper_base64encode: 371 .. _casper_base64encode:
372 372
......
...@@ -885,7 +885,7 @@ Casper.prototype.fillXPath = function fillXPath(formSelector, vals, submit) { ...@@ -885,7 +885,7 @@ Casper.prototype.fillXPath = function fillXPath(formSelector, vals, submit) {
885 * 885 *
886 * @return Casper 886 * @return Casper
887 */ 887 */
888 Casper.prototype.forward = function forward(then) { 888 Casper.prototype.forward = function forward() {
889 "use strict"; 889 "use strict";
890 this.checkStarted(); 890 this.checkStarted();
891 return this.then(function _step() { 891 return this.then(function _step() {
......