Class RemoteObject
- java.lang.Object
-
- org.openqa.selenium.devtools.runtime.model.RemoteObject
-
public class RemoteObject extends java.lang.Object
Mirror object referencing original JavaScript object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RemoteObject.Subtype
static class
RemoteObject.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.String
getClassName()
Object class (constructor) name.CustomPreview
getCustomPreview()
java.lang.String
getDescription()
String representation of the object.RemoteObjectId
getObjectId()
Unique object identifier (for non-primitive values).ObjectPreview
getPreview()
Preview containing abbreviated property values.RemoteObject.Subtype
getSubtype()
Object subtype hint.RemoteObject.Type
getType()
Object type.UnserializableValue
getUnserializableValue()
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()
-
-