java - Failed to connect to binary FirefoxBinary(/usr/bin/firefox) on port 7055 -


i running test on java using selenium.

when ran sample test. getting following

build info: version: '2.47.2', revision: '4d972c01cab1304452627f837654326a11eb92fe', time: '2015-09-24 09:17:17' system info: host: 'lima', ip: '127.0.1.1', os.name: 'linux', os.arch: 'amd64', os.version: '3.2.0-32-generic', java.version: '1.8.0_45' driver info: driver.version: firefoxdriver     @ org.openqa.selenium.firefox.internal.newprofileextensionconnection.start(newprofileextensionconnection.java:134)     @ org.openqa.selenium.firefox.firefoxdriver.startclient(firefoxdriver.java:276)     @ org.openqa.selenium.remote.remotewebdriver.<init>(remotewebdriver.java:116)     @ org.openqa.selenium.firefox.firefoxdriver.<init>(firefoxdriver.java:221)     @ org.openqa.selenium.firefox.firefoxdriver.<init>(firefoxdriver.java:216)     @ org.openqa.selenium.firefox.firefoxdriver.<init>(firefoxdriver.java:133) caused by: org.openqa.selenium.firefox.notconnectedexception: unable connect host 127.0.0.1 on port 7055 after 45000 ms. firefox console output:     addons.manager  debug   provider finished startup: pluginprovider 1443602965766   addons.manager  debug   completed startup sequence 1443602966724   deferredsave.extensions.json    debug   save changes 1443602966725   addons.xpi  debug   updating xpistate {"id":"fxdriver@googlecode.com","syncguid":"w4mc2i4gsadp","location":"app-profile","version":"2.47.1","type":"extension","internalname":null,"updateurl":null,"updatekey":null,"optionsurl":null,"optionstype":null,"abouturl":null,"iconurl":null,"icon64url":null,"defaultlocale":{"name":"firefox webdriver","description":"webdriver implementation firefox","creator":"simon stewart","homepageurl":null},"visible":true,"active":false,"userdisabled":false,"appdisabled":false,"descriptor":"/tmp/anonymous2411601304142570791webdriver-profile/extensions/fxdriver@googlecode.com","installdate":1443602959000,"updatedate":1443602959000,"applybackgroundupdates":1,"bootstrap":false,"size":8234871,"sourceuri":null,"releasenotesuri":null,"softdisabled":false,"foreigninstall":true,"hasbinarycomponents":true,"strictcompatibility":false,"locales":[],"targetapplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minversion":"3.0","maxversion":"66.*"}],"targetplatforms":[{"os":"darwin","abi":null},{"os":"sunos","abi":null},{"os":"freebsd","abi":null},{"os":"openbsd","abi":null},{"os":"winnt","abi":"x86-msvc"},{"os":"linux","abi":null}],"multiprocesscompatible":false,"signedstate":0} 1443602966725   addons.xpi  debug   getmodtime: recursive scan of fxdriver@googlecode.com 1443602966736   deferredsave.extensions.json    debug   save changes 1443602966739   deferredsave.extensions.json    debug   save changes 1443602966739   addons.xpi  debug   updating xpistate {"id":"fxdriver@googlecode.com","syncguid":"w4mc2i4gsadp","location":"app-profile","version":"2.47.1","type":"extension","internalname":null,"updateurl":null,"updatekey":null,"optionsurl":null,"optionstype":null,"abouturl":null,"iconurl":null,"icon64url":null,"defaultlocale":{"name":"firefox webdriver","description":"webdriver implementation firefox","creator":"simon stewart","homepageurl":null},"visible":true,"active":false,"userdisabled":false,"appdisabled":true,"descriptor":"/tmp/anonymous2411601304142570791webdriver-profile/extensions/fxdriver@googlecode.com","installdate":1443602959000,"updatedate":1443602959000,"applybackgroundupdates":1,"bootstrap":false,"size":8234871,"sourceuri":null,"releasenotesuri":null,"softdisabled":false,"foreigninstall":true,"hasbinarycomponents":true,"strictcompatibility":false,"locales":[],"targetapplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minversion":"3.0","maxversion":"66.*"}],"targetplatforms":[{"os":"darwin","abi":null},{"os":"sunos","abi":null},{"os":"freebsd","abi":null},{"os":"openbsd","abi":null},{"os":"winnt","abi":"x86-msvc"},{"os":"linux","abi":null}],"multiprocesscompatible":false,"signedstate":0} 1443602966740   deferredsave.extensions.json    debug   save changes 1443602970172   addons.manager  debug   starting provider: <unnamed-provider> 1443602970172   addons.manager  debug   registering shutdown blocker <unnamed-provider> 1443602970172   addons.manager  debug   provider finished startup: <unnamed-provider> 1443602971358   deferredsave.extensions.json    debug   write succeeded 1443602971358   addons.xpi-utils    debug   xpi database saved, setting schema version preference 17 1443602971359   deferredsave.extensions.json    debug   starting timer 1443602971422   deferredsave.extensions.json    debug   starting write 1443602971426   addons.repository   debug   no addons.json found. 1443602971427   deferredsave.addons.json    debug   save changes 1443602971433   deferredsave.addons.json    debug   starting timer 1443602971450   addons.manager  debug   starting provider: previousexperimentprovider 1443602971450   addons.manager  debug   registering shutdown blocker previousexperimentprovider 1443602971450   addons.manager  debug   provider finished startup: previousexperimentprovider 1443602971477   deferredsave.extensions.json    debug   write succeeded 1443602971487   deferredsave.addons.json    debug   starting write 1443602971502   deferredsave.addons.json    debug   write succeeded     @ org.openqa.selenium.firefox.internal.newprofileextensionconnection.start(newprofileextensionconnection.java:122)     ... 44 more   results :  failed tests:   test(test.sampletest): failed connect binary firefoxbinary(/usr/bin/firefox) on port 7055; process output follows: (..) 

my dependency version is

    <dependency>         <groupid>org.seleniumhq.selenium</groupid>         <artifactid>selenium-java</artifactid>         <version>2.47.2</version>     </dependency> 

firefox version 41.0b8

i hope resolved when firefox , selenium version matched.

can tell me selenium version match firefox- 41.0b8 version

i don't think latest version of selenium supports firefox 41.0 beta version. referring beta version instead of stable version. downgrade browser version latest version of selenium supports. check change logs of selenium

as of post, selenium v2.47 supports firefox v39. hope helps.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -