Class BluetoothEmulation
java.lang.Object
org.openqa.selenium.devtools.v133.bluetoothemulation.BluetoothEmulation
This domain allows configuring virtual Bluetooth devices to test
the web-bluetooth API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.devtools.Command<Void>
disable()
Disable the BluetoothEmulation domain.static org.openqa.selenium.devtools.Command<Void>
enable
(CentralState state) Enable the BluetoothEmulation domain.static org.openqa.selenium.devtools.Command<Void>
simulateAdvertisement
(ScanEntry entry) Simulates an advertisement packet described in |entry| being received by the central.static org.openqa.selenium.devtools.Command<Void>
simulatePreconnectedPeripheral
(String address, String name, List<ManufacturerData> manufacturerData, List<String> knownServiceUuids) Simulates a peripheral with |address|, |name| and |knownServiceUuids| that has already been connected to the system.
-
Constructor Details
-
BluetoothEmulation
public BluetoothEmulation()
-
-
Method Details
-
enable
Enable the BluetoothEmulation domain. -
disable
Disable the BluetoothEmulation domain. -
simulatePreconnectedPeripheral
public static org.openqa.selenium.devtools.Command<Void> simulatePreconnectedPeripheral(String address, String name, List<ManufacturerData> manufacturerData, List<String> knownServiceUuids) Simulates a peripheral with |address|, |name| and |knownServiceUuids| that has already been connected to the system. -
simulateAdvertisement
Simulates an advertisement packet described in |entry| being received by the central.
-