gpt4 book ai didi

firefox - 在 Centos 7 虚拟机中从 Bamboo 运行 selenium webdriver 测试时出现 NotConnectedException 错误

转载 作者:行者123 更新时间:2023-12-04 19:44:39 24 4
gpt4 key购买 nike

我正在尝试在 cantos VM 中从 Bamboo 中运行 Selenium 测试。但它显示错误 org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms。火狐控制台输出:

我正在使用 Selenium Standalone Server 2.52.0 并尝试使用以下 FF 版本但得到相同的错误

法拉盛 38
FF 45
FF 44
FF 40

任何人都可以帮助解决这个问题。

最佳答案

解决方法是将 user.dir 的路径设置为安装 firefox 的 bin 目录。

关于firefox - 在 Centos 7 虚拟机中从 Bamboo 运行 selenium webdriver 测试时出现 NotConnectedException 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36027052/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com