Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97802

Protractor won't run chrome

$
0
0

Protractor was running fine but suddenley won't run chrome anymore. This is mye current configuration:

exports.config = {
    baseUrl: 'http://localhost:1384/#/',
    framework: 'jasmine',
    seleniumAddress: 'http://localhost:4444/wd/hub',
    specs: ['./tests/e2e/*.js'],
    multiCapabilities: [{
      //'browserName': 'firefox',
      'browserName': 'chrome',
    }, 
    ],
    jasmineNodeOpts: {
      showColors: true
    }
  }

I am running latest of all the related dependencies:

  • protractor : "protractor": "^5.2.0",
  • chromedriver: 2.33.506092
  • webdriver: selenium standalone version available: 3.7.1 [last]

when I run webdriver-manager start eveything runs fine, and then running protractor conf.js gives the following output in the window running the selenium server:

Starting ChromeDriver 2.33.506092 Only local connections are allowed.

The terminal windows running the protractor config, gives the following errros:

E/launcher - WebDriverError: unknown error: Chrome failed to start: exited abnormally

I have already tried reinstalling protractor and updating the chromedriver. Running the tests work fine in firefox with the exact same configurations.

I am also running tests with karma, and karma runs fine in a chrome browser window.


Viewing all articles
Browse latest Browse all 97802

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>