Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const androidAppium = async (config) => {
let defaultCaps = {
app: config.app,
deviceName: config.deviceName,
platformName: config.platformName,
automationName: 'uiautomator2'
};
let driver = new AndroidUiautomator2Driver();
await driver.createSession(defaultCaps);
}