How to run Protractor tests on IE? [15:58:08] I/launcher - Running 1 instances of WebDriver [15:58:08] I/hosted - Using the selenium server at http://localhost:4444/wd/hub [15:58:08] E/launcher - Unable to create new service: InternetExplorerDriverService [15:58:08] E/launcher - Process exited with error code 199 npm ERR! Exit status 199
Webdriver is started and running.
var Jasmine2HtmlReporter = require('protractor-jasmine2-html-reporter');
exports.config = {
framework: 'jasmine',
seleniumAddress: 'http://localhost:4444/wd/hub',
specs: ['e2e.js'],
onPrepare: ()=>{
var width = 816;
var height = 480;
browser.driver.manage().window().setSize(width, height);
//browser.driver.manage().window().maximize();
jasmine.getEnv().addReporter(new Jasmine2HtmlReporter({savePath: 'target/screenshots'}));
},
jasmineNodeOpts:{
showColors: true
},
suites:{
smoke:['smoke.js'],
regression: ['regression.js'],
humanity: ['humanity.js']
},
capabilities: {
'browserName': 'internet explorer',
'ignoreProtectedModeSettings': true
}
}