Skip to content

Commit a0b8e90

Browse files
authored
fix: enable acquiring an already attached emulator
Resolves #1027
1 parent 8b29ce8 commit a0b8e90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

detox/src/devices/drivers/AttachedAndroidDriver.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class AttachedAndroidDriver extends AndroidDriver {
1010
}
1111

1212
async acquireFreeDevice(name) {
13-
const deviceId = await this.findDeviceId({name: name});
13+
const deviceId = await this.findDeviceId({adbName: name});
1414
await this.adb.apiLevel(name);
1515
await this.adb.unlockScreen(deviceId);
1616
return deviceId;

0 commit comments

Comments
 (0)