# dalek-browser-chrome

> Google Chrome bindings for DalekJS

Latest version **0.0.11** (published 2014-11-28) · 0 weekly downloads

## Install

```sh
npm install dalek-browser-chrome
pnpm add dalek-browser-chrome
yarn add dalek-browser-chrome
bun add dalek-browser-chrome
```

## Health

**Score 5/100 (F)** — status: abandoned.

Warnings: low downloads; no types; no esm support; has vulnerabilities; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.11 |
| Published | 2014-11-28 |
| First published | 2013-08-01 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 1 (+9 in 2 direct dependencies) |
| Install scripts | yes |
| Author | Sebastian Golasch |
| Maintainers | asciidisco |
| Keywords | dalekjs, dalek-browser-plugin, chrome |

## Links

- npm: https://www.npmjs.com/package/dalek-browser-chrome
- Repository: http://github.com/dalekjs/dalek-browser-chrome
- Homepage: http://dalekjs.com
- Issues: https://github.com/dalekjs/dalek-browser-chrome/issues
- npm.io page: https://npm.io/package/dalek-browser-chrome

## Dependencies (7)

- [q](https://npm.io/package/q.md) 1.1.2
- [kew](https://npm.io/package/kew.md) 0.5.0-alpha.1
- [ncp](https://npm.io/package/ncp.md) 1.0.1
- [rimraf](https://npm.io/package/rimraf.md) 2.2.8
- [adm-zip](https://npm.io/package/adm-zip.md) 0.4.4
- [npmconf](https://npm.io/package/npmconf.md) 2.1.1
- [portscanner](https://npm.io/package/portscanner.md) 1.0.0

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.0.11 (latest) — 2014-11-28
- 0.0.10 — 2014-03-10
- 0.0.9 — 2014-01-22
- 0.0.8 — 2013-11-13
- 0.0.7 — 2013-10-29
- 0.0.6 — 2013-10-17
- 0.0.5 — 2013-09-25
- 0.0.4 — 2013-09-24
- 0.0.3 — 2013-09-23
- 0.0.2 — 2013-08-22
- 0.0.1 — 2013-08-01

## README

dalek-browser-chrome
=====================

> DalekJS browser plugin for Google Chrome

[![Build Status](https://travis-ci.org/dalekjs/dalek-browser-chrome.png)](https://travis-ci.org/dalekjs/dalek-browser-chrome)
[![Build Status](https://drone.io/github.com/dalekjs/dalek-browser-chrome/status.png)](https://drone.io/github.com/dalekjs/dalek-browser-chrome/latest)
[![Dependency Status](https://david-dm.org/dalekjs/dalek-browser-chrome.png)](https://david-dm.org/dalekjs/dalek-browser-chrome)
[![devDependency Status](https://david-dm.org/dalekjs/dalek-browser-chrome/dev-status.png)](https://david-dm.org/dalekjs/dalek-browser-chrome#info=devDependencies)
[![NPM version](https://badge.fury.io/js/dalek-browser-chrome.png)](http://badge.fury.io/js/dalek-browser-chrome)
[![Coverage](http://dalekjs.com/package/dalek-browser-chrome/master/coverage/coverage.png)](http://dalekjs.com/package/dalek-browser-chrome/master/coverage/index.html)
[![unstable](https://rawgithub.com/hughsk/stability-badges/master/dist/unstable.svg)](http://github.com/hughsk/stability-badges)
[![Stories in Ready](https://badge.waffle.io/dalekjs/dalek-browser-chrome.png?label=ready)](https://waffle.io/dalekjs/dalek-browser-chrome)
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/dalekjs/dalek-browser-chrome/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
[![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/)

[![NPM](https://nodei.co/npm/dalek-browser-chrome.png)](https://nodei.co/npm/dalek-browser-chrome/)
[![NPM](https://nodei.co/npm-dl/dalek-browser-chrome.png)](https://nodei.co/npm/dalek-browser-chrome/)

## Ressources

[API Docs](http://dalekjs.com/package/dalek-browser-chrome/master/api/index.html) -
[Trello](https://trello.com/b/xhw6Jv7A/dalek-browser-chrome) -
[Code coverage](http://dalekjs.com/package/dalek-browser-chrome/master/coverage/index.html) -
[Code complexity](http://dalekjs.com/package/dalek-browser-chrome/master/complexity/index.html) -
[Contributing](https://github.com/dalekjs/dalek-browser-chrome/blob/master/CONTRIBUTING.md) -
[User Docs](http://dalekjs.com/docs/chrome.html) -
[Homepage](http://dalekjs.com) -
[Twitter](http://twitter.com/dalekjs)

## Docs

This module is a browser plugin for [DalekJS](//github.com/dalekjs/dalek).
It provides all a WebDriverServer & browser launcher for Google Chrome.

The browser plugin can be installed with the following command:

```
$ npm install dalek-browser-chrome --save-dev
```

You can use the browser plugin by adding a config option to the your [Dalekfile](/pages/config.html)

```
"browser": ["chrome"]
```

Or you can tell Dalek that it should test in this browser via the command line:

```
$ dalek mytest.js -b chrome
```

The Webdriver Server tries to open Port 9002 by default,
if this port is blocked, it tries to use a port between 9003 & 9092
You can specifiy a different port from within your [Dalekfile](/pages/config.html) like so:

```
"browsers": [{
  "chrome": {
    "port": 5555
  }
}]
```

It is also possible to specify a range of ports:

```
"browsers": [{
  "chrome": {
    "portRange": [6100, 6120]
  }
}]
```

If you would like to test Chrome Canary oder Chromium releases, you can simply apply a snd. argument,
which defines the browser type:

```
$ dalek mytest.js -b chrome:canary
```

for canary, and if you would like to use chromium, just append `:chromium`:

```
$ dalek mytest.js -b chrome:chromium
```

This will only work if you installed your browser in the default locations,
if the browsers binary is located in a non default location, you are able to specify
its location in your [Dalekfile](/pages/config.html):

```javascript
"browsers": [{
  "chrome": {
    "binary": "/Applications/Custom\ Located\ Chrome.app/Contents/MacOS/Google\ Chrome"
  }
}]
```

This also works for the canary & chromium builds

```javascript
"browsers": [{
  "chrome": {
    "binary": "/Applications/Custom\ Located\ Chrome.app/Contents/MacOS/Google\ Chrome"
  }
}]
```

```
$ dalek mytest.js -b chrome
```
### Launch Chrome with flags enabled

Set `chromeOptions` to start a custom instance of Chrome with flags / command lines switches enabled
for various experimental features. [All command line switches for Chrome](http://peter.sh/experiments/chromium-command-line-switches/).

```javascript
"browsers": [{
  "chrome": {
    "chromeOptions": {
      "args": ["enable-experimental-web-platform-features", "js-flags=--harmony"]
    }
  }
}]
```

## Help Is Just A Click Away

### #dalekjs on FreeNode.net IRC

Join the `#daleksjs` channel on [FreeNode.net](http://freenode.net) to ask questions and get help.

### [Google Group Mailing List](https://groups.google.com/forum/#!forum/dalekjs)

Get announcements for new releases, share your projects and ideas that are
using DalekJS, and join in open-ended discussion that does not fit in
to the Github issues list or StackOverflow Q&A.

**For help with syntax, specific questions on how to implement a feature
using DalekJS, and other Q&A items, use StackOverflow.**

### [StackOverflow](http://stackoverflow.com/questions/tagged/dalekjs)

Ask questions about using DalekJS in specific scenarios, with
specific features. For example, help with syntax, understanding how a feature works and
how to override that feature, browser specific problems and so on.

Questions on StackOverflow often turn in to blog posts or issues.

### [Github Issues](//github.com/dalekjs/dalek-browser-chrome/issues)

Report issues with DalekJS, submit pull requests to fix problems, or to
create summarized and documented feature requests (preferably with pull
requests that implement the feature).

**Please don't ask questions or seek help in the issues list.** There are
other, better channels for seeking assistance, like StackOverflow and the
Google Groups mailing list.

![DalekJS](https://raw.github.com/dalekjs/dalekjs.com/master/img/logo.png)

## Legal FooBar (MIT License)

Copyright (c) 2013 Sebastian Golasch

Distributed under [MIT license](https://github.com/dalekjs/dalek-browser-chrome/blob/master/LICENSE-MIT)


[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/dalekjs/dalek-browser-chrome/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

---
_Source: https://npm.io/package/dalek-browser-chrome · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
