selenium脚本奇怪报错

Posted 蜗牛到牛

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了selenium脚本奇怪报错相关的知识,希望对你有一定的参考价值。

今天用firefox浏览器运行脚本,刚开始运行的挺好,但是过一会就会卡住不动,还有报这个错误:selenium.common.exceptions.WebDriverException: Message: [object Object]‘[object Object]‘ when calling method: [nsICommandProcessor::execute]

查资料发现,selenium最新的 selenium 2.40 只支持Firefox 27的。只能是把Firefox版本降下来先

以上是关于selenium脚本奇怪报错的主要内容,如果未能解决你的问题,请参考以下文章