Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 20 lines (15 sloc) 0.451 kB
d2ba601 @admc First commit
authored
1 # WD.js -- A super light weight WebDriver/Selenium 2 client for node.js
2
496d897 @admc Adding some notes
authored
3 ## Install - SOON
d2ba601 @admc First commit
authored
4
5 <pre>
6 npm install wd
7 </pre>
8
496d897 @admc Adding some notes
authored
9 ## Usage
d2ba601 @admc First commit
authored
10
496d897 @admc Adding some notes
authored
11 <pre>
12 ): node
13 > var wd = require("./main")
14 > wd.createWebDriver() or wd.createWebDriver("ondemand.saucelabs.com", 80)
15 > wd.init() or wd.init({username:'sauce username', accessKey:'sauce api key'})
16 > wd.url("http://www.url.com")
17 > wd.exec("window.location.href", function(o) { console.log(o) })
18 > wd.close();
19 > wd.quit()
Something went wrong with that request. Please try again.