Skip to content

Commit

Permalink
Merge pull request #168 from abbotto/patch-1
Browse files Browse the repository at this point in the history
docs: update README.md
  • Loading branch information
rogeriopvl authored Jan 26, 2018
2 parents 9856dc7 + dbdc8f7 commit 01c7efc
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The easiest way is to keep `karma-chrome-launcher` as a devDependency in your `p
by running

```bash
$ npm install karma-chrome-launcher --save-dev
$ npm i -D karma-chrome-launcher
```

## Configuration
Expand Down Expand Up @@ -56,12 +56,23 @@ $ karma start --browsers Chrome,Chrome_without_security

## Headless Chromium with Puppeteer

Chrome team made [Puppeteer](https://github.com/GoogleChrome/puppeteer). It will automatically install Chromium for all
platforms, so you can easily use it within your CI. Everything that you need, it's to install package and update your
Karma config.
The Chrome DevTools team created [Puppeteer](https://github.com/GoogleChrome/puppeteer) - it will automatically install Chromium for all
platforms and contains everything you need to run it from within your CI.

### Available Browsers
*Note: Headless mode requires a browser version >= 59*

- Chrome (CHROME_BIN)
- ChromeHeadless (CHROME_BIN)
- Chromium (CHROMIUM_BIN)
- ChromiumHeadless (CHROMIUM_BIN)
- ChromeCanary (CHROME_CANARY_BIN)
- ChromeCanaryHeadless (CHROME_CANARY_BIN)
- Dartium (DARTIUM_BIN)

#### Usage
```bash
$ npm install puppeteer --save-dev
$ npm i -D puppeteer karma-chrome-launcher
```

```js
Expand All @@ -75,18 +86,8 @@ module.exports = function(config) {
}
```

### Available browsers

- Chrome
- ChromeCanary
- Chromium
- ChromeHeadless (only on Chrome >= 59)
- ChromeCanaryHeadless (only on Chrome >= 59)
- Dartium

----

For more information on Karma see the [homepage].


[homepage]: http://karma-runner.github.com

0 comments on commit 01c7efc

Please sign in to comment.