I'm trying to run my jasmine E2E tests on IE11 but with no luck or whatsoever. I'm on Windows 8.1. My config:
exports.config = {
directConnect: true,
// Capabilities to be passed to the webdriver instance.
capabilities: {
'browserName': 'chrome'
},
// run in multiple browsers
multiCapabilities:[
// {
// 'browserName': 'chrome'
// },
// {
// 'browserName': 'firefox'
// },
{
'browserName': 'internet explorer',
}
],
// Spec patterns are relative to the current working directly when
// protractor is called.
specs: ['./**/*js'],
// Options to be passed to Jasmine-node.
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 30000
},
onPrepare: function () {
// The require statement must be down here, since jasmine-reporters@1.0
// needs jasmine to be in the global and protractor does not guarantee
// this until inside the onPrepare function.
require('jasmine-reporters');
jasmine.getEnv().addReporter(
new jasmine.JUnitXmlReporter('xmloutput', true, true)
);
}
};
Chrome and Firefox work like a charm but IE gives me this:
Error: browserName (internet explorer) is not supported with directConnect.
IEDriverServer.exe is added to my path. I've did all the requred config: https://code.google.com/p/selenium/wiki/InternetExplorerDriver#Required_Configuration
Any ideas?