Class ObjectPreview
- java.lang.Object
-
- org.openqa.selenium.devtools.runtime.model.ObjectPreview
-
@Beta public class ObjectPreview extends java.lang.Object
Object containing abbreviated remote object value.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ObjectPreview.Subtype
static class
ObjectPreview.Type
-
Constructor Summary
Constructors Constructor Description ObjectPreview(ObjectPreview.Type type, java.util.Optional<ObjectPreview.Subtype> subtype, java.util.Optional<java.lang.String> description, java.lang.Boolean overflow, java.util.List<PropertyPreview> properties, java.util.Optional<java.util.List<EntryPreview>> entries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
getDescription()
String representation of the object.java.util.Optional<java.util.List<EntryPreview>>
getEntries()
List of the entries.java.lang.Boolean
getOverflow()
True iff some of the properties or entries of the original object did not fit.java.util.List<PropertyPreview>
getProperties()
List of the properties.java.util.Optional<ObjectPreview.Subtype>
getSubtype()
Object subtype hint.ObjectPreview.Type
getType()
Object type.
-
-
-
Constructor Detail
-
ObjectPreview
public ObjectPreview(ObjectPreview.Type type, java.util.Optional<ObjectPreview.Subtype> subtype, java.util.Optional<java.lang.String> description, java.lang.Boolean overflow, java.util.List<PropertyPreview> properties, java.util.Optional<java.util.List<EntryPreview>> entries)
-
-
Method Detail
-
getType
public ObjectPreview.Type getType()
Object type.
-
getSubtype
public java.util.Optional<ObjectPreview.Subtype> getSubtype()
Object subtype hint. Specified for `object` type values only.
-
getDescription
public java.util.Optional<java.lang.String> getDescription()
String representation of the object.
-
getOverflow
public java.lang.Boolean getOverflow()
True iff some of the properties or entries of the original object did not fit.
-
getProperties
public java.util.List<PropertyPreview> getProperties()
List of the properties.
-
getEntries
public java.util.Optional<java.util.List<EntryPreview>> getEntries()
List of the entries. Specified for `map` and `set` subtype values only.
-
-