Enum Class RealmType

java.lang.Object
java.lang.Enum<RealmType>
org.openqa.selenium.bidi.protocol.script.RealmType
All Implemented Interfaces:
Serializable, Comparable<RealmType>, Constable

@Beta @Internal public enum RealmType extends Enum<RealmType>
This is an unsupported API. No compatibility guarantees are provided. It tracks the W3C WebDriver BiDi specification directly. As the specification evolves, this API will change or be removed without prior notice.
  • Enum Constant Details

    • WINDOW

      public static final RealmType WINDOW
    • DEDICATED_WORKER

      public static final RealmType DEDICATED_WORKER
    • SHARED_WORKER

      public static final RealmType SHARED_WORKER
    • SERVICE_WORKER

      public static final RealmType SERVICE_WORKER
    • WORKER

      public static final RealmType WORKER
    • PAINT_WORKLET

      public static final RealmType PAINT_WORKLET
    • AUDIO_WORKLET

      public static final RealmType AUDIO_WORKLET
    • WORKLET

      public static final RealmType WORKLET
  • Method Details

    • values

      public static RealmType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RealmType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromJson

      public static RealmType fromJson(String s)
    • toWireValue

      public Object toWireValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<RealmType>