mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
parent
6c4c62b674
commit
5fd43edcbb
@ -47,7 +47,7 @@ export class Android extends ChannelOwner<channels.AndroidChannel> implements ap
|
|||||||
this._channel.setDefaultTimeoutNoReply({ timeout });
|
this._channel.setDefaultTimeoutNoReply({ timeout });
|
||||||
}
|
}
|
||||||
|
|
||||||
async devices(options: { port?: number }): Promise<AndroidDevice[]> {
|
async devices(options: { port?: number } = {}): Promise<AndroidDevice[]> {
|
||||||
const { devices } = await this._channel.devices(options);
|
const { devices } = await this._channel.devices(options);
|
||||||
return devices.map(d => AndroidDevice.from(d));
|
return devices.map(d => AndroidDevice.from(d));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user