Class BluetoothEmulation

java.lang.Object
org.openqa.selenium.devtools.v133.bluetoothemulation.BluetoothEmulation

@Beta public class BluetoothEmulation extends Object
This domain allows configuring virtual Bluetooth devices to test the web-bluetooth API.
  • Constructor Details

    • BluetoothEmulation

      public BluetoothEmulation()
  • Method Details

    • enable

      public static org.openqa.selenium.devtools.Command<Void> enable(CentralState state)
      Enable the BluetoothEmulation domain.
    • disable

      public static org.openqa.selenium.devtools.Command<Void> 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

      public static org.openqa.selenium.devtools.Command<Void> simulateAdvertisement(ScanEntry entry)
      Simulates an advertisement packet described in |entry| being received by the central.