我正在使用我们现有的工具,该工具可以完美地使用 Selenium IWebdriver 的 Firefox 和 Chrome 实现。
我现在正在使用 PhantomJS 实现做一些实验。到目前为止,一切都很好。但是,只要我想单击一个按钮,它什么也不做。
我可以检索元素,但是,仔细查看其属性,“已选择”属性说明以下内容:
Error Message => 'Element is not selectable' caused by Request => {"headers":{"Accept":"application/json, image/png","Connection":"Close","Host":"localhost:37704"},"httpVersion":"1.1","method":"GET","url":"/selected","urlParsed":{"anchor":"","query":"","file":"selected","directory":"/","path":"/selected","relative":"/selected","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/selected","queryKey":{},"chunks":["selected"]},"urlOriginal":"/session/fcaf88a0-40b4-11e3-960d-bdce3224aacf/element/%3Awdc%3A1383063211142/selected"}
我会收集这是我的点击没有执行的原因,但是,我无法从这个错误消息中做出正面或反面。使用谷歌也没有帮助。
任何帮助将非常感激。
提前致谢。