java - WebDriver throws org.openqa.selenium.SessionNotCreatedException while using Firefox browser -


i'm using below configurations :

gecko driver version: 0.17

firefox version: 54.0.1

selenium java version: 3.4.0

tried below code open browser :

desiredcapabilities dc = desiredcapabilities.firefox(); dc.setcapability("marionette", true); system.setproperty("webdriver.gecko.driver", properties.getproperty("firefoxdriverpath")); driver = new firefoxdriver(dc); 

but encountered below exception:

failed: testrunner("instance1", local, firefox, 1, 1) org.openqa.selenium.sessionnotcreatedexception: unable create new remote session. desired capabilities = capabilities [{marionette=true, firefoxoptions=org.openqa.selenium.firefox.firefoxoptions@596982, browsername=firefox, moz:firefoxoptions=org.openqa.selenium.firefox.firefoxoptions@596982, version=, platform=any}], required capabilities = capabilities [{}] build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:49:13 -0700'

can please clarify issue ?


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -