Class PropertyPreview
- java.lang.Object
-
- org.openqa.selenium.devtools.v98.runtime.model.PropertyPreview
-
@Beta public class PropertyPreview extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPropertyPreview.Subtypestatic classPropertyPreview.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.StringgetName()Property name.java.util.Optional<PropertyPreview.Subtype>getSubtype()Object subtype hint.PropertyPreview.TypegetType()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.
-
-