UNPKG

appium-android-driver

Version:

Android UiAutomator and Chrome support for Appium

26 lines 1.09 kB
import type { AndroidDriver } from '../../driver'; import type { ADBDeviceInfo, ADBLaunchInfo } from '../types'; import type { ADB } from 'appium-adb'; /** * Gets device information from capabilities, including UDID and emulator port. * * @returns Device information with UDID and emulator port */ export declare function getDeviceInfoFromCaps(this: AndroidDriver): Promise<ADBDeviceInfo>; /** * Creates an ADB instance configured with the device UDID and emulator port from options. * * @returns A configured ADB instance */ export declare function createADB(this: AndroidDriver): Promise<ADB>; /** * Gets launch information (package and activity) from the app manifest or options. * * @returns Launch information with package and activity names, or undefined if not needed */ export declare function getLaunchInfo(this: AndroidDriver): Promise<ADBLaunchInfo | undefined>; /** * Initializes the device with various settings like locale, keyboard, logcat, etc. */ export declare function initDevice(this: AndroidDriver): Promise<void>; //# sourceMappingURL=common.d.ts.map