Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create new service: InternetExplorerDriverService #5386

Open
Carol19 opened this issue Jan 21, 2020 · 0 comments
Open

Unable to create new service: InternetExplorerDriverService #5386

Carol19 opened this issue Jan 21, 2020 · 0 comments

Comments

@Carol19
Copy link

Carol19 commented Jan 21, 2020

Hi there!

Thanks for submitting an issue to Protractor.

To help us help you better, please do the following before submitting an issue:

  1. Review the questions section of CONTRIBUTING.md.
  2. Make sure you are not asking a usage or debugging question. If you are, use StackOverflow, Google Group discussion list, or Gitter to get help.
  3. Provide a minimally reduced test case. This makes it much more likely that your bug will be fixed. Protractor has a test Angular application available at http://www.protractortest.org/testapp which you can use for the reproducible test case.
  4. Fill in the information that corresponds to your type of issue below.
  5. Delete this intro and any unrelated text 😄 (if you do not we'll assume you haven't read these instructions and automatically close the issue.)

Bug report

  • Node Version: 10.15.0
  • Protractor Version: 5.4.0
  • Angular Version: 7.2.4
  • Browser(s): Internet Explore
  • Operating System and Version Windows 10 1809

exports.config = {
// seleniumArgs: ['-Dwebdriver.ie.driver=node_modules/webdriver-manager/selenium/IEDriverServer3.150.1.exe'],
allScriptsTimeout: (30*1000),
specs: [
'./src//app.e2e-spec.ts',
'./src/
/registration.e2e-spec.ts',
'./src//login.e2e-spec.ts',
'./src/
/fap.e2e-spec.ts'
],
capabilities : {
'browserName': 'internet explorer'
},

//directConnect: true,
baseUrl: 'https:www.MyUrl.com',
framework: 'jasmine',

jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 50000,
print: function() {}
},
onPrepare() {

require('ts-node').register({
  project: require('path').join(__dirname, './tsconfig.e2e.json')
});
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));

jasmine.getEnv().addReporter(new HtmlReporter({
  baseDirectory: 'Report/screenshots'

}).getJasmine2Reporter());
}
};
After running ng e2e I get:
[10:47:25] E/launcher - SessionNotCreatedError: Unable to create new service: InternetExplorerDriverService
E/launcher - Process exited with error code 199

However if I change the capabilities to Firefox or Chrome it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant