哪个Firefox版本与Selenium 2.53.0兼容?我尝试了Firefox 45.0,我得到了这个例外:
org.openqa.selenium.WebDriverException: Failed to connect to binary
FirefoxBinary(/Applications/Firefox.app/Contents/MacOS/firefox-bin) on port 7055; process output follows:
foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":false,"l ocales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"45.0","maxVersion":"45.*"},{"id":"xpcshell@tests.mozilla.org","minVersion":"0","maxVersion":"10"}],"targetPlatforms":[],"multiprocessCompatible":false,"seen":true}
Run Code Online (Sandbox Code Playgroud) 我在各种平台上使用Selenium Java和Firefox Web Driver开展了许多项目.我一次又一次地遇到了我们使用的Selenium WebDriver版本和安装的Firefox版本之间的不兼容性.
当然,第一道防线是确保我们使用最新版本的WebDriver和最新版本的FireFox.
有时,这是不可能的,因为我们使用的是旧版本的Java,或者仅仅因为阻力最小的路径是使用随OS一起分发的Firefox版本.
我真的希望有一个可靠的兼容性矩阵,告诉我哪个版本的Firefox可以与哪个版本的Selenium WebDriver一起使用.我在哪里可以找到一个?