node package manager
Easy sharing. Manage teams and permissions with one click. 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);
});