angular-seed icon indicating copy to clipboard operation
angular-seed copied to clipboard

" E/launcher - Process exited with error code 199" error am getting when tried to run the protractor

Open iamsarav opened this issue 10 years ago • 1 comments

I am a new Protractor.

  1. my conf.js file has : exports.config = { seleniumAddress: 'http://localhost:3000/login', specs: ['todo-spec.js'], capabilities: { 'browserName': 'chrome', chromeOnly:true , directConnect: true } };

2.my 'todo-spec.js' file has :

describe('Authentication capabilities', function() {
  var email = element(by.id('inputusername'));
  var password = element(by.id('inputPassword'));
  var loginButton = element(by.class('btn-success'));
 

it('should redirect to the login page if trying to load protected page while not authenticated', function() {
    browser.get('http://localhost:3000/login');
    loginURL = browser.getCurrentUrl();
    email.sendKeys("demo");
    password.sendKeys("demo");
    loginButton.click();
    
  });  
 });

but when i try to run the protractor by the following command "protractor "filepath\conf.js", Im getting " E/launcher - Process exited with error code 199" error.

can anyone please let me know, where I'm doing mistake?

iamsarav avatar Nov 10 '16 12:11 iamsarav

This sounds like a general support question. Please, use one of the appropriate support channels for these types of questions. GitHub issues are reserved for bug reports and feature requests.

That said, a similar error was thrown when using Chrome v54 with older version of the ChromeDriver/Protractor (see https://github.com/angular/angular-cli/issues/2176#issuecomment-253496181). It shouldn't happen with Protractor v4.0.9+ though (which is what angular-phonecat is using), so not sure if it is related.

gkalpak avatar Nov 14 '16 09:11 gkalpak