Skip to content

Instantly share code, notes, and snippets.

@alexhidalgo
Created November 5, 2018 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexhidalgo/b6f1163943aa13ece2390de8a2274d15 to your computer and use it in GitHub Desktop.
Save alexhidalgo/b6f1163943aa13ece2390de8a2274d15 to your computer and use it in GitHub Desktop.
android capabilities to run saucelabs sim apk
const config = require('./wdio.shared.conf').config;
// @TODO: To increase the number of devices to run in parrallel add more objects
// to the cap array.
config.capabilities = [
{
maxInstances: 1,
automationName: 'uiautomator2',
browserName: '',
deviceOrientation: 'portrait',
platformName: 'Android',
deviceName: 'Android GoogleAPI Emulator',
platformVersion: '7.0',
appiumVersion: '1.9.1',
app: 'sauce-storage:app-debug.apk',
noReset: true,
maxTypingFrequency: 30,
appWaitDuration: 30000,
dontStopAppOnReset: true,
fullReset: false,
androidInstallTimeout: 90000,
},
];
exports.config = config;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment