All Projects → niklasvh → webdriver.js

niklasvh / webdriver.js

Licence: MIT License
jQuery styled WebDriver bindings for node.js

Programming Languages

javascript
184084 projects - #8 most used programming language

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].