Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Use Webdriverjs with Sauce Labs (example)
var webdriverjs = require('../index'),
client = webdriverjs.remote({
desiredCapabilities: {
browserName: 'chrome',
version: '27',
platform: 'XP',
tags: ['examples'],
name: 'This is an example test'
host: '',
port: 80,
user: process.env.SAUCE_USERNAME,
key: process.env.SAUCE_ACCESS_KEY,
logLevel: 'silent'
.getTitle(function(err,title) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment