Public | Automated Build

Last pushed: a day ago
Short Description
Run karma and protractor tests under chrome on a CI server
Full Description

Karma and Protractor in a docker container

This image allows to run javascript tests in a headless machine like a CI server.

This image support karma and protractor test under chrome.

Unfortunately, chrome doesn't support container (, you need to start chrome with --no-sandbox argument to avoid this.

To configure karma and protractor, use this snippets:


browsers: ['Chrome_no_sandbox'],
customLaunchers: {
  Chrome_no_sandbox: {
    base: 'Chrome',
    flags: ['--no-sandbox']


capabilities: {
  'browserName': 'chrome',
  'chromeOptions': {
    'args': ['no-sandbox']

Gitlab CI

To run karma and protractor on gitlab ci, just use this image, and configure karma and protractor as above.

On Docker Hub

docker pull weboaks/node-karma-protractor-chrome
Docker Pull Command