1

I was able to successfully run a test in IE11 by tinkering with the settings following the accepted answer here:

Not able to launch IE browser using Selenium2 (Webdriver) with Java

I am trying to run it in parallel browsers. I managed to get Firefox + Chrome to work but not Firefox + IE11.

conf.js:

// parallel - firefox and ie11
exports.config = {
  framework: 'jasmine',
  seleniumAddress: 'http://localhost:4444/wd/hub',
  specs: ['spec.js'],
  multiCapabilities: [{
    browserName: 'firefox',
    firefoxPath: 'C:/Program Files/Mozilla Firefox/firefox.exe'
  }, {
    browserName: 'internet explorer',
    platform: 'ANY',
    version: '11'
  }],
  directConnect: true
}
Community
  • 1
  • 1
k_rollo
  • 5,304
  • 16
  • 63
  • 95

1 Answers1

1

You have to remove the directConnect=true. It's supported only for firefox & chrome. Checkout the below extract from official Protractor documentation

If true, Protractor will connect directly to the browser Drivers * at the locations specified by chromeDriver and firefoxPath. Only Chrome * and Firefox are supported for direct connect.

That was the reason why your tests were working for chrome & firefox and not on IE

AdityaReddy
  • 3,625
  • 12
  • 25
  • Hi, removing `directConnect` ran IE successfully but failed in FF. Maybe running FF+IE in parallel is not possible? – k_rollo Feb 15 '17 at 06:14