Protractor version : 5.1.1, Firefox version: 47, webdriver version : v0.15.0 I get following error when I try to run Protractor test in Firefox:
[15:13:47]
directConnect
is not working with Firefox 52+ and Protractor 5.1.1. (angular/protractor#4253) Have you tried with a standalone version of webdriver-manager
to eliminate the directConnect
problems?
How to use webdriver-manager:
npm install webdriver-manager -g
webdriver-manager update
webdriver-manager start
It will start a server on localhost:4444/wd/hub
. Add that to your config with seleniumAddress: 'http://localhost:4444/wd/hub'
.
You are also using an old version of Firefox (47) with a new webdriver version. I don't know if that could cause the problem. Do you really need 47, or can you upgrade? If so, be aware that 51 is "stable" and 52 could give some troubles.