Class RemoteObject
java.lang.Object
org.openqa.selenium.devtools.v119.runtime.model.RemoteObject
Mirror object referencing original JavaScript object.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionRemoteObject
(RemoteObject.Type type, Optional<RemoteObject.Subtype> subtype, Optional<String> className, Optional<Object> value, Optional<UnserializableValue> unserializableValue, Optional<String> description, Optional<DeepSerializedValue> deepSerializedValue, Optional<RemoteObjectId> objectId, Optional<ObjectPreview> preview, Optional<CustomPreview> customPreview) -
Method Summary
Modifier and TypeMethodDescriptionObject class (constructor) name.Deep serialized value.String representation of the object.Unique object identifier (for non-primitive values).Preview containing abbreviated property values.Object subtype hint.getType()
Object type.Primitive value which can not be JSON-stringified does not have `value`, but gets this property.getValue()
Remote object value in case of primitive values or JSON values (if it was requested).
-
Constructor Details
-
RemoteObject
public RemoteObject(RemoteObject.Type type, Optional<RemoteObject.Subtype> subtype, Optional<String> className, Optional<Object> value, Optional<UnserializableValue> unserializableValue, Optional<String> description, Optional<DeepSerializedValue> deepSerializedValue, Optional<RemoteObjectId> objectId, Optional<ObjectPreview> preview, Optional<CustomPreview> customPreview)
-
-
Method Details
-
getType
Object type. -
getSubtype
Object subtype hint. Specified for `object` type values only. NOTE: If you change anything here, make sure to also update `subtype` in `ObjectPreview` and `PropertyPreview` below. -
getClassName
Object class (constructor) name. Specified for `object` type values only. -
getValue
Remote object value in case of primitive values or JSON values (if it was requested). -
getUnserializableValue
Primitive value which can not be JSON-stringified does not have `value`, but gets this property. -
getDescription
String representation of the object. -
getDeepSerializedValue
Deep serialized value. -
getObjectId
Unique object identifier (for non-primitive values). -
getPreview
Preview containing abbreviated property values. Specified for `object` type values only. -
getCustomPreview
-