Merge pull request #657 from mduvall/fix-forward-args
Fix forward args
Showing
2 changed files
with
2 additions
and
2 deletions
... | @@ -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() { | ... | ... |
-
Please register or sign in to post a comment