npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

dalek-browser-chrome

v0.0.11

Published

Google Chrome bindings for DalekJS

Downloads

34

Readme

dalek-browser-chrome

DalekJS browser plugin for Google Chrome

Build Status Build Status Dependency Status devDependency Status NPM version Coverage unstable Stories in Ready Bitdeli Badge Built with Grunt

NPM NPM

Ressources

API Docs - Trello - Code coverage - Code complexity - Contributing - User Docs - Homepage - Twitter

Docs

This module is a browser plugin for DalekJS. 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

"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 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:

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

This also works for the canary & chromium builds

"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.

"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 to ask questions and get help.

Google Group Mailing List

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

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

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

Legal FooBar (MIT License)

Copyright (c) 2013 Sebastian Golasch

Distributed under MIT license

Bitdeli Badge