Skip to content

Instantly share code, notes, and snippets.

Nick Tulett NickTulett

Block or report user

Report or block NickTulett

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@NickTulett
NickTulett / webdriver_sync_jenkins.js
Last active Aug 29, 2015
Augment webdriver-sync for use with Jenkins
View webdriver_sync_jenkins.js
/*
to be required by another script containing the actual webdriver scripts, plus:
var exit = require("exit");//to flush stdout for Jenkins before exiting with a zero/non-zero code
var driverType = process.argv[2] || "Firefox";
var WD = require("./webdriver_sync_jenkins.js")(driverType);
var wd = WD.wd;
var driver = WD.driver;
var $ = WD.$;
You can’t perform that action at this time.