node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

wd-tools

RealJSON Build Status

Utility functions for Selenium WebDriver.

Installation

npm install wd-tools

Usage

var browser = require('wd').remote();
var wdTools = require('wd-tools');
wdTools.getSingleElement(browser, '.some-class', function(err, element) {
  console.log(element);
});