Remove then from the arguments list for Casper.prototype.forward
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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