webdriver.js

0.1.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i webdriver.js

Weekly Downloads

0

Version

0.1.0

License

none

Last publish

Collaborators

  • niklasvh