mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +03:00
parent
6c4c62b674
commit
5fd43edcbb
@ -47,7 +47,7 @@ export class Android extends ChannelOwner<channels.AndroidChannel> implements ap
|
||||
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);
|
||||
return devices.map(d => AndroidDevice.from(d));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user