Skip to end of metadata
Go to start of metadata

If you want to use Sauce Connect, you need to set host to localhost and the port to 4445, as shown in this example script.

Sauce Connect and Node.js Example
var client = require('webdriverio').remote({
    user: process.env.SAUCE_USERNAME,
    key: process.env.SAUCE_ACCESS_KEY,
    host: 'localhost',
    port: 4445,
    desiredCapabilities: {
        browserName: 'chrome'
    }
});

client
    .init()
    .url('http://localhost')
    .getTitle().then(console.log)
    .end();
  • No labels