我已尝试过Google建议的所有解决方案。但仍然在努力解决以下问题。我在RedHat Linux上使用无头Firefox设置了基于PHPUnit-Selenium的自动化框架
Selenium Log Error:
引起:org.openqa.selenium.WebDriverException:连接失败 在端口7055上二进制FirefoxBinary(/ usr / bin / firefox);过程输出 如下:错误:未指定显示错误:未指定显示
到目前为止,我试过了:
updated version of selenium driver
updated version of firefox
various selenium-firefox combinations using older versions
Xvfb working fine
请告诉我:
How i can verify firefox on port 7055 ?
Is etc/hosts file can have cause of this issue ?