How to use the appium-uiautomator2-driver function in appium-uiautomator2-driver

To help you get started, we’ve selected a few appium-uiautomator2-driver examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github truongsinh / appium-flutter-driver / driver / lib / sessions / android.ts View on Github external
const setupNewAndroidDriver = async (caps) => {
  const androidArgs = {
    javascriptEnabled: true,
  };
  const androiddriver = new AndroidDriver(androidArgs);
  const capsCopy = Object.assign({}, caps, { newCommandTimeout: 0 });

  await androiddriver.createSession(capsCopy);

  return androiddriver;
};

appium-uiautomator2-driver

UiAutomator2 integration for Appium

Apache-2.0
Latest version published 12 days ago

Package Health Score

83 / 100
Full package analysis