我正在尝试在CentOS上使用Python Selenium Webdriver运行UI Automation . 哪些版本的Firefox兼容 .

我尝试了多种与Selenium 2.47.1-> 3.3.1,FF 24 - > FF 45的组合我甚至为最新的Selenium版本安装了geckodriver .

他们都没有为我工作 . 请建议这些版本的工作组合 .

我大多数时候用webdriver打开firefox时会出现belwo错误 .

self._get_firefox_output())
selenium.common.exceptions.WebDriverException: 
Message: "The browser appears to have exited before we could connect. 
The output was: b'No protocol specified\\nError: cannot open display: :1.0\\n'"