diff --git a/src/bots/actions.js b/src/bots/actions.js index fd1b549..9c65889 100644 --- a/src/bots/actions.js +++ b/src/bots/actions.js @@ -2,7 +2,7 @@ var timeoutDuration = 20000; var config = function (cwd) { var template = this.plugins.template; - var xpath = casper.plugins.xpath; + var xpath = this.plugins.xpath; var actions = { assert: require('./actions/assert.js').bind(this), capture: require('./actions/capture.js').bind(this),