无法在60秒内获得稳定的firefox连接并退出


unable to obtain stable firefox connection in 60 seconds and quit

我无法在60秒内(127.0.0.1:7056)获得稳定的firefox连接,并在尝试运行php脚本时退出错误,该脚本向系统发出运行ruby脚本以实现自动化的命令。Ruby脚本使用selenium web驱动程序。

我不确定,但您为脚本设置了最大时间限制吗?

set_time_limit(60); //60 seconds

试试这个:

通过运行此命令在您的计算机上更新selenium-webdriver-gem。

gem update selenium-webdriver