UNPKG

appium-lg-webos-driver

Version:
44 lines 1.94 kB
/** * Attempt to extend developer mode on the connected device. This will as * a side effect cause the developer app to be launched * * @param {string} [deviceName] - device to extend, otherwise whichever is connected * @returns {Promise<void>} */ export function extendDevMode(deviceName?: string | undefined): Promise<void>; /** * Retrieve info about a device using ares-device-info * * @param {string} [deviceName] - device to explicitly get info for, otherwise default * @returns {Promise<Record<string, string>>} */ export function getDeviceInfo(deviceName?: string | undefined): Promise<Record<string, string>>; /** * Launch an installed app by its app id, including params if desired * * @param {string} appId - the app ID * @param {string} [deviceName] - device name to launch an app on * @param {import('type-fest').JsonObject} [launchParams] - dictionary of app launch parameters, will be JSON * stringified and passed to ares-launch */ export function launchApp(appId: string, deviceName?: string | undefined, launchParams?: import("type-fest").JsonObject | undefined): Promise<void>; /** * Close the current app * @param {string} appId * @param {string} [deviceName] - device name to close current app on */ export function closeApp(appId: string, deviceName?: string | undefined): Promise<void>; /** * Install an IPK file to the device * @param {string} ipkPath - path to .ipk file * @param {string} appId - the package ID of the app * @param {string} [deviceName] - device name to install app on */ export function installApp(ipkPath: string, appId: string, deviceName?: string | undefined): Promise<void>; /** * Uninstall an app from the device * @param {string} appId - the package ID of the app * @param {string} [deviceName] - device name to uninstall app on */ export function uninstallApp(appId: string, deviceName?: string | undefined): Promise<void>; //# sourceMappingURL=ares.d.ts.map