wd-tools

Utility functions for Selenium WebDriver

RealJSON

Utility functions for Selenium WebDriver.

npm install wd-tools

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