struct Protocol::Runtime::RemoteObject
- Protocol::Runtime::RemoteObject
- Struct
- Value
- Object
Overview
Mirror object referencing original JavaScript object.
Included Modules
- JSON::Serializable
Defined in:
protocol/runtime.crConstructors
Instance Method Summary
-
#class_name : String | Nil
Object class (constructor) name.
- #custom_preview : CustomPreview | Nil
-
#description : String | Nil
String representation of the object.
-
#object_id : RemoteObjectId | Nil
Unique object identifier (for non-primitive values).
-
#preview : ObjectPreview | Nil
Preview containing abbreviated property values.
-
#subtype : String | Nil
Object subtype hint.
-
#type : String
Object type.
-
#unserializable_value : UnserializableValue | Nil
Primitive value which can not be JSON-stringified does not have
#value
, but gets this property. -
#value : JSON::Any | Nil
Remote object value in case of primitive values or JSON values (if it was requested).
-
#web_driver_value : WebDriverValue | Nil
WebDriver BiDi representation of the value.
Constructor Detail
Instance Method Detail
Object class (constructor) name. Specified for object
type values only.
Preview containing abbreviated property values. Specified for object
type values only.
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.
Primitive value which can not be JSON-stringified does not have #value
, but gets this
property.
Remote object value in case of primitive values or JSON values (if it was requested).