在詹金斯中运行一组测试用例(大约100个测试用例,需要2到3个小时的运行时间)时,对于某些随机测试用例,我得到以下错误。但是,当我再次尝试重新运行时,失败的测试用例会通过。因此,请提供有关如何解决Selenium Java WebDriver FireFox技术中这种情况的建议。
当硒和Firefox版本之间出现可压缩性问题时,我已经看到此错误。请不要让我知道发生以下错误的任何原因。
Exception org.openqa.selenium.WebDriverException
Message: Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7057;
process output follows: mer 1534835965794 addons.xpi-utils DEBUG Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd} visible 1534835965794 DeferredSave.extensions.json
DEBUG Save changes 1534835965794 DeferredSave.extensions.json
DEBUG Save changes 1534835965794 addons.xpi DEBUG Updating XPIState for
{"id":"{972ce4c6-7e08-4474-a285-3208198ce6fd}","syncGUID":"hfCs3w5AVaxq","location":"app-global","version":"42.0","type":"theme","internalName":"classic/1.0","updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"iconURL":null,"icon64URL":null,"defaultLocale":
{"name":"Default","description":"The default theme.","creator":"Mozilla","homepageURL":null,"contributors":["Mozilla Contributors"]},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285