Package io.webfolder.cdp.type.runtime
Class RemoteObject
java.lang.Object
io.webfolder.cdp.type.runtime.RemoteObject
Mirror object referencing original JavaScript object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject class (constructor) name.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).WebDriver BiDi representation of the value.void
setClassName
(String className) Object class (constructor) name.void
setCustomPreview
(CustomPreview customPreview) void
setDescription
(String description) String representation of the object.void
setObjectId
(String objectId) Unique object identifier (for non-primitive values).void
setPreview
(ObjectPreview preview) Preview containing abbreviated property values.void
setSubtype
(ObjectSubtypeHint subtype) Object subtype hint.void
setType
(ObjectType type) Object type.void
setUnserializableValue
(String unserializableValue) Primitive value which can not be JSON-stringified does not have value, but gets this property.void
Remote object value in case of primitive values or JSON values (if it was requested).void
setWebDriverValue
(WebDriverValue webDriverValue) WebDriver BiDi representation of the value.toString()
-
Constructor Details
-
RemoteObject
public RemoteObject()
-
-
Method Details
-
getType
Object type. -
setType
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. -
setSubtype
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. -
setClassName
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). -
setValue
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. -
setUnserializableValue
Primitive value which can not be JSON-stringified does not have value, but gets this property. -
getDescription
String representation of the object. -
setDescription
String representation of the object. -
getWebDriverValue
WebDriver BiDi representation of the value. -
setWebDriverValue
WebDriver BiDi representation of the value. -
getObjectId
Unique object identifier (for non-primitive values). -
setObjectId
Unique object identifier (for non-primitive values). -
getPreview
Preview containing abbreviated property values. Specified for object type values only. -
setPreview
Preview containing abbreviated property values. Specified for object type values only. -
getCustomPreview
-
setCustomPreview
-
toString
-