当我运行硒脚本时出现以下错误。无法从硒webdriver打开firefox
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
fTime":1409733904986}}},{"name":"winreg-app-user","addons":{"{e4f94d1e-2f53-401e-8885-681602c0ddd8}":{"descriptor":"C:\\ProgramData\\McAfee Security Scan\\Extensions\\{e4f94d1e-2f53-401e-8885-681602c0ddd8}.xpi","mtime":1396607774000}}},{"name":"app-profile","addons":{"[email protected]":{"descriptor":"C:\\Users\\kishna\\AppData\\Local\\Temp\\anonymous3395727590319882631webdriver-profile\\extensions\\[email protected]","mtime":1409812670363,"rdfTime":1409812670181}}}]
1409812670931 addons.xpi-utils DEBUG Opening XPI database C:\Users\kishna\AppData\Local\Temp\anonymous3395727590319882631webdriver-profile\extensions.json
1409812670931 addons.xpi DEBUG New add-on [email protected] installed in app-profile
什么版本的Firefox?什么版本的Selenium? – Arran 2014-09-04 07:01:56
Firefox版本= 32.0和selenium-java-2.42.2 – 2014-09-04 07:06:49
考虑到它是一两天前发布的Firefox版本,并且考虑到DevTools和DOM引擎的变化很少,我高度怀疑Selenium不支持这* *:https://developer.mozilla.org/en-US/Firefox/Releases/32 ...你需要给Selenium开发团队时间来支持它 - 或者自己挖掘代码并帮助他们弄清楚需要改变以支持这个版本。 – Arran 2014-09-04 07:09:39