Every time I attempt to run protractor in Firefox, the browser launches and displays a blank tab, without executing any specs. Eventually, an error message appears:
WebDriverError: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
"}],"targetPlatforms":[],"seen":true}
...
Oddly enough, when I use selenium webdriver directly in my script, everything runs smoothly with Firefox. It seems like the issue lies specifically within protractor!
Here is the configuration file for my protractor setup:
require('babel-core/register'); // Spec files are in ES2015
exports.config = {
framework: 'jasmine2',
capabilities: {
browserName: 'firefox'
},
specs: ['some.spec.js']
};
Regardless of starting webdriver-manager
or geckodriver
, I consistently end up with just a blank tab. Any suggestions on what might be causing this issue?
Additional details:
"babel-cli": "^6.18.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-stage-0": "^6.16.0",
"protractor": "^5.0.0",
"selenium-webdriver": "^3.0.1"
FF 50 Mac, macOS Sierra 10.12.2