【发布时间】:2018-02-22 21:19:15
【问题描述】:
当我尝试通过 Jenkins 执行我的自动化测试用例时出现以下错误。
Server Using: Centos 7
java.lang.IllegalStateException:驱动程序可执行文件不存在:/usr/local/bin/geckodriver
在检查服务器时,我发现路径“/usr/local/bin/”上已经存在 geckodriver 和 chromedriver,但我仍然不知道 Jenkins 为什么会抛出这些错误。
我还检查了 geckodriver 和 chromedriver 的访问权限和权限都设置为 777。geckodriver 和 chromedriver 均已正确下载/安装。
【问题讨论】:
-
你能用你的代码试验和错误堆栈跟踪更新问题吗?