Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 915 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 915 Bytes

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.