Unable to connect to Firefox

僤鯓⒐⒋嵵緔 提交于 2019-12-09 13:39:53

问题


I'm working on Selenium and I currently have a hub connected to two vms running linux with all the browsers.

I was able to launch browsers until suddenly it just stopped . Firefox or any of the other browsers don't launch. I get the following error.

Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms.

I am running Selenium-server-standalone 2.26 with firefox 16.0.2 .

Please help.


回答1:


Try running this before you start your Selenium server:

export DISPLAY=:0


来源:https://stackoverflow.com/questions/13281568/unable-to-connect-to-firefox

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!