CasperJS error - undefined 不是函数 (this.waitForUrl)
CasperJS error - undefined is not a function (this.waitForUrl)
我有一个 casperJS 脚本可以执行一些表单填写,但出现以下错误:
TypeError: 'undefined' is not a function (evaluating 'this.waitForUrl')
这是由于使用了过时的版本吗?我将尝试找出正在运行的版本并回发。
这很可能是由于版本过时。
文档指定需要版本 1.1,但尚未正式发布。
您可以下载最新版本(撰写本文时的 1.1-beta2)
但是,如果要获取所有最新功能和错误修复,则可能需要使用最新的主分支。
相关文章:
- $(this).prop('property') vs. this.property
- Twitter Bootstrap typeahead:使用“this”获取上下文/调用元素
- 在另一个函数中使用变量this
- this.router在AngularJS 2中未定义
- reactjs this.refs vs document.getElementById
- JavaScript 中的嵌套函数和 “this” 关键字
- React+Meteor:this.ops返回未定义
- javascript中对象构造函数中的var属性与this.properties
- 函数中this和var之间的区别
- jQuery(this).Pparent().Pparente().Prent().find()在iPad上不起作用
- Understanding Javascript scope with "var that = this&qu
- 定义this.properties或objectName.properties的javascript JSON对象
- Object.prototype using 'this'
- 在JavaScript类型的函数中避免self-this
- 如何使用(this)访问Angular 2 http rxjs catch函数中的对象属性
- Javascript 对象和 this 关键字
- jQuery使用ajax自动完成问题-TypeError:this.source不是函数
- reactjs无法将this.pops传递到react图表列表中
- 为什么在这种情况下,“This”确实充当javascript函数中的私有成员
- CasperJS error - undefined 不是函数 (this.waitForUrl)