public
admc / pub
Created

public job

  • Download Gist
pub
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
var webdriver = require("../lib/main")
 
var browser = webdriver.remote("ondemand.saucelabs.com", 80, "admc", "key");
browser.desiredCapabilities.public = true;
browser.init(function() {
browser.get("http://www.jelly.io", function() {
browser.eval("window.location.href", function(a, o) {
console.log(o);
browser.get("http://www.seleniumhq.org", function() {
browser.quit(function() {
console.log("DONE");
})
})
})
})
})

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.