Class PropertyPreview
- java.lang.Object
-
- org.openqa.selenium.devtools.v85.runtime.model.PropertyPreview
-
@Beta public class PropertyPreview extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PropertyPreview.Subtype
static class
PropertyPreview.Type
-
Constructor Summary
Constructors Constructor Description PropertyPreview(java.lang.String name, PropertyPreview.Type type, java.util.Optional<java.lang.String> value, java.util.Optional<ObjectPreview> valuePreview, java.util.Optional<PropertyPreview.Subtype> subtype)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Property name.java.util.Optional<PropertyPreview.Subtype>
getSubtype()
Object subtype hint.PropertyPreview.Type
getType()
Object type.java.util.Optional<java.lang.String>
getValue()
User-friendly property value string.java.util.Optional<ObjectPreview>
getValuePreview()
Nested value preview.
-
-
-
Constructor Detail
-
PropertyPreview
public PropertyPreview(java.lang.String name, PropertyPreview.Type type, java.util.Optional<java.lang.String> value, java.util.Optional<ObjectPreview> valuePreview, java.util.Optional<PropertyPreview.Subtype> subtype)
-
-
Method Detail
-
getName
public java.lang.String getName()
Property name.
-
getType
public PropertyPreview.Type getType()
Object type. Accessor means that the property itself is an accessor property.
-
getValue
public java.util.Optional<java.lang.String> getValue()
User-friendly property value string.
-
getValuePreview
public java.util.Optional<ObjectPreview> getValuePreview()
Nested value preview.
-
getSubtype
public java.util.Optional<PropertyPreview.Subtype> getSubtype()
Object subtype hint. Specified for `object` type values only.
-
-