Back to Puppeteer

BluetoothEmulation.simulatePreconnectedPeripheral() method

website/versioned_docs/version-24.40.0/api/puppeteer.bluetoothemulation.simulatepreconnectedperipheral.md

19.2.2753 B
Original Source

BluetoothEmulation.simulatePreconnectedPeripheral() method

Simulated preconnected Bluetooth Peripheral. See bluetooth.simulatePreconnectedPeripheral.

Signature

typescript
interface BluetoothEmulation {
  simulatePreconnectedPeripheral(
    preconnectedPeripheral: PreconnectedPeripheral,
  ): Promise<void>;
}

Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

preconnectedPeripheral

</td><td>

PreconnectedPeripheral

</td><td>

The peripheral to simulate.

</td></tr> </tbody></table>

Returns:

Promise<void>