webdriver.js

v0.1.0
jQuery styled WebDriver bindings for node.js

webdriver.js

jQuery styled WebDriver bindings for node.js

Getting Started

Install the module with:

$ npm install webdriver.js

Documentation

Launch the Selenium server with:

$ java -jar path/to/selenium-server-standalone-2.xx.x.jar

Run tests

$ grunt test

Examples

var WebDriver = require('webdriver.js').webdriver;
var browser = new WebDriver();
browser.url("http://google.com/")
.$('input[name=q]').val('hello world!')
.$('form[action="/search"]').submit();

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

(Nothing yet)

License

Copyright (c) 2012 Niklas von Hertzen Licensed under the MIT license.

npm i webdriver.js

Metadata

  • Unknown
  • >= 0.6.0
  • Niklas von Hertzen
  • released 12/29/2012

Downloads

Maintainers