selenium代理注入模式 this.onXhrStateChange.bind is not a function on session
来源:互联网 发布:数据质量管控管理办法 编辑:程序博客网 时间:2024/05/31 19:44
this.onXhrStateChange.bind is not a function on session
在用selenium做测试的时候,使用-proxyInjectionMode的时候遇到下述错误。
INFO - Got result: ERROR: Command execution failure. Please search the forum at http://clearspace.openqa.org for error details from the log window. The error message is: this.onXhrStateChange.bind is not a function on session cb9b55529ae04075962b433e7864cbf7
这个错误一般都是open命令的时候遇到的。相应的解决方法是加一个参数true。
例如在命令行下 你可以:cmd=open&1=/&2=true
然后你可以看到:
17:06:30.490 INFO - ---> Requesting http://localhost:4444/selenium-server/driver?cmd=open&1=/&2=true&sessionId=cb9b55529ae04075962b433e7864cbf7
17:06:30.506 INFO - Command request: open[/, true] on session cb9b55529ae04075962b433e7864cbf7
17:06:31.506 INFO - Got result: OK on session cb9b55529ae04075962b433e7864cbf7
这显然是成功了。
参考网址:http://groups.google.com/group/selenium-users/browse_thread/thread/bc7030cd44730d4f
- selenium代理注入模式 this.onXhrStateChange.bind is not a function on session
- ExtJs this.addevents is not a function
- this.setState is not a function
- $(...).on is not a function 解决方案
- $(…).on is not a function
- Uncaught TypeError: $(...).on is not a function
- selenium 错误集锦->f.QueryInterface is not a function
- extjs中出现this.addevents is not a function错误
- extjs中出现this.addevents is not a function错误
- Ext.this.addEvents is not a function错误
- Ext this.addEvents is not a function错误原因
- Extjs中this.swf.setDataProvider is not a function解决办法
- Ext this.addEvents is not a function 错误原因
- Extjs 报this.addEvents is not a function错误原因
- Extjs 报错 this.addEvents is not a function
- react:undefined is not a function(this.State({flag:true,}))
- TypeError: jQuery.easing[this.easing] is not a function
- 错误中学习--this.addEvents is not a function
- Google File System
- c++ 自定义类模版产生链接错误的原因
- 《linux核心应用命令速查》连载九:crontab:设置计时器
- POJ 1323 Game Prediction
- 快速得到数据库中所有用户表的记录数(行数)
- selenium代理注入模式 this.onXhrStateChange.bind is not a function on session
- libaio 的 Asynchronous I/O 测试代码
- windows 鼠标事件API
- Mongo Widget 1.0 测试版 (Mongodb for Visual Studio)
- mapreduce
- HDU 1761(模拟题,字典树)
- flex(替代session过期)用户长时间不操作要求重新登录的处理
- Java培训机构之我见
- 在ASP下使用MVC开发模式