selectEmulatorDeviceId
Picks the emulator started from a named AVD.
Import:
import { selectEmulatorDeviceId } from 'obsidian-integration-testing';Signature:
function selectEmulatorDeviceId(params: SelectEmulatorDeviceIdParams): string | nullParameters:
| Parameter | Type | Description |
|---|---|---|
params | SelectEmulatorDeviceIdParams | The AVD to match and the running emulators to match against. |
Returns: string | null — The matching device UDID, or null when no running emulator carries that AVD name.
Links to this page: