Enum TracingBackend
- java.lang.Object
-
- java.lang.Enum<TracingBackend>
-
- org.openqa.selenium.devtools.v103.tracing.model.TracingBackend
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TracingBackend>
public enum TracingBackend extends java.lang.Enum<TracingBackend>
Backend type to use for tracing. `chrome` uses the Chrome-integrated tracing service and is supported on all platforms. `system` is only supported on Chrome OS and uses the Perfetto system tracing service. `auto` chooses `system` when the perfettoConfig provided to Tracing.start specifies at least one non-Chrome data source; otherwise uses `chrome`.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TracingBackend
fromString(java.lang.String s)
java.lang.String
toJson()
java.lang.String
toString()
static TracingBackend
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TracingBackend[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final TracingBackend AUTO
-
CHROME
public static final TracingBackend CHROME
-
SYSTEM
public static final TracingBackend SYSTEM
-
-
Method Detail
-
values
public static TracingBackend[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TracingBackend c : TracingBackend.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TracingBackend valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromString
public static TracingBackend fromString(java.lang.String s)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<TracingBackend>
-
toJson
public java.lang.String toJson()
-
-