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
- i installed selenium driver
npm install selenium-webdriver
suggested in link - i set marionette executable downloading file
geckodriver-0.8.0-osx.gz
, unrar it, , changed namewires
instructed in link. , ensured executablechmod +x wires
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
Post a Comment