java - Unsuccessful to use Marionette, the next generation of FirefoxDriver -


according mozilla developer network, there no firefoxdriver firefox 47, instead use marionette.

i followed instructions in link, doesn't work expected. using java, firefox 47 , mac osx capitan

  1. i installed selenium driver npm install selenium-webdriver suggested in link
  2. i set marionette executable downloading file geckodriver-0.8.0-osx.gz, unrar it, , changed name wires instructed in link. , ensured executable chmod +x wires
  3. i used marionette this, mozilla developer

    desiredcapabilities capabilities = desiredcapabilities.firefox(); capabilities.setcapability("marionette", true);  webdriver driver = new firefoxdriver(capabilities); 

but when run test, same exception normal firefoxfriver

org.openqa.selenium.firefox.notconnectedexception: unable connect host 127.0.0.1 on port 7055 after 45000 ms.

is successful use marionette? missing mozilla's instructions. thanks

i had same problem , solved updating selenium version 2.53.1.

hope helps!


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -