Have a look at the wiki of WebdriverJS at the Google Code page.
You can use selenium-webdriverjs like this:
var webdriver = require('selenium-webdriverjs'), client = new webdriver.Builder().build(); client.get('http://github.com');
If you have any suggestions (or maybe even a finished patch) for the package I'd be most delighted to add it. I also welcome other contributors or willing maintainers.
Anything relating to the fine code itself please see the issue tracker at the Google Code page.
I put my work (the mere packaging) in the public domain, or, failing this (in countries where this is not possible) publish it under the same license as the original code (Apache License).