SeleniumException:错误:未知命令
我将 setExtensionJs 与定义 doFoo 原型的 user-extensions.js 文件一起使用。 每次 Selenium 启动时都会抛出异常:
CHECKPOINT-FAIL com.thoughtworks.selenium.SeleniumException: ERROR: Unknown command "doFoo"
setExtensionJs 调用当然是在 start 调用之前。
启动 Selenium 时:
-userExtensions user-extensions.js
可以正常工作。
有谁知道我为什么会得到例外?
I'm using setExtensionJs with an user-extensions.js file that defines a doFoo prototype.
This throws an exception everytime Selenium starts:
CHECKPOINT-FAIL com.thoughtworks.selenium.SeleniumException: ERROR: Unknown command "doFoo"
The setExtensionJs call is of course before of the start call.
Launching Selenium with:
-userExtensions user-extensions.js
works without problem.
Does anyone has an idea why I got the exception?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如我在 gyrmination 博客中指出的那样:
对不起 :-(
As I noted over at the gyrmination blog:
Sorry :-(