Class RemoteObject
- java.lang.Object
-
- org.openqa.selenium.devtools.runtime.model.RemoteObject
-
public class RemoteObject extends java.lang.ObjectMirror object referencing original JavaScript object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRemoteObject.Subtypestatic classRemoteObject.Type
-
Constructor Summary
Constructors Constructor Description RemoteObject(RemoteObject.Type type, RemoteObject.Subtype subtype, java.lang.String className, java.util.Map<java.lang.String,java.lang.Object> value, UnserializableValue unserializableValue, java.lang.String description, RemoteObjectId objectId, ObjectPreview preview, CustomPreview customPreview)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClassName()Object class (constructor) name.CustomPreviewgetCustomPreview()java.lang.StringgetDescription()String representation of the object.RemoteObjectIdgetObjectId()Unique object identifier (for non-primitive values).ObjectPreviewgetPreview()Preview containing abbreviated property values.RemoteObject.SubtypegetSubtype()Object subtype hint.RemoteObject.TypegetType()Object type.UnserializableValuegetUnserializableValue()Primitive value which can not be JSON-stringified does not have `value`, but gets this property.java.util.Map<java.lang.String,java.lang.Object>getValue()Remote object value in case of primitive values or JSON values (if it was requested).
-
-
-
Constructor Detail
-
RemoteObject
public RemoteObject(RemoteObject.Type type, RemoteObject.Subtype subtype, java.lang.String className, java.util.Map<java.lang.String,java.lang.Object> value, UnserializableValue unserializableValue, java.lang.String description, RemoteObjectId objectId, ObjectPreview preview, CustomPreview customPreview)
-
-
Method Detail
-
getType
public RemoteObject.Type getType()
Object type.
-
getSubtype
public RemoteObject.Subtype getSubtype()
Object subtype hint. Specified for `object` type values only.
-
getClassName
public java.lang.String getClassName()
Object class (constructor) name. Specified for `object` type values only.
-
getValue
public java.util.Map<java.lang.String,java.lang.Object> getValue()
Remote object value in case of primitive values or JSON values (if it was requested).
-
getUnserializableValue
public UnserializableValue getUnserializableValue()
Primitive value which can not be JSON-stringified does not have `value`, but gets this property.
-
getDescription
public java.lang.String getDescription()
String representation of the object.
-
getObjectId
public RemoteObjectId getObjectId()
Unique object identifier (for non-primitive values).
-
getPreview
@Beta public ObjectPreview getPreview()
Preview containing abbreviated property values. Specified for `object` type values only.
-
getCustomPreview
@Beta public CustomPreview getCustomPreview()
-
-