puppeteer-core
Version:
A high-level API to control headless Chrome over the DevTools Protocol
38 lines • 1.16 kB
JavaScript
/**
* @license
* Copyright 2025 Google Inc.
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @internal
*/
export class BidiBluetoothEmulation {
constructor(contextId, session) {
this.
this.
}
async emulateAdapter(state, leSupported = true) {
await this.
context: this.
state,
leSupported,
});
}
async disableEmulation() {
await this.
context: this.
});
}
async simulatePreconnectedPeripheral(preconnectedPeripheral) {
await this.
context: this.
address: preconnectedPeripheral.address,
name: preconnectedPeripheral.name,
manufacturerData: preconnectedPeripheral.manufacturerData,
knownServiceUuids: preconnectedPeripheral.knownServiceUuids,
});
}
}
//# sourceMappingURL=BluetoothEmulation.js.map