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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -