Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including webrtc-utilities with all npm packages installed. Try it out:

var webrtcUtilities = require("webrtc-utilities")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

webrtc-utilities v1.0.10

WebRTC test framework utilities.

Build Status

WebRTC utilities

Contains shared utilities, support tools and frameworks for the other WebRTC sub repositories.

Install using npm

npm install webrtc-utilities --save-dev

SeleniumLib

src/selenium/selenium-lib.js contains all that is needed to build a selenium webdriver driver for Chrome and Firefox (whatever is set in the BROWSER and BVER variables).

node and commonjs

require('webrtc-utilities').seleniumLib

start-tests.sh

src/testrunner/start-tests.sh that helps travis-multirunner to download and install Chrome and Firefox browser from stable, beta and unstable channels. Also starts the tests using node.

This will be added to node_modules/.bin and can be called on in package.json file, e.g.

"scripts": {
    "test": "start-tests"
},

Development

Add new utilities under the src folder and add them to the main.js file in the project root with the appropriate module.export set.

Detailed information on developing in the webrtc github repositories can be found in the WebRTC GitHub repo developer's guide.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free