Class RemoteObject

java.lang.Object
io.webfolder.cdp.type.runtime.RemoteObject

public class RemoteObject extends Object
Mirror object referencing original JavaScript object.
  • Constructor Details

    • RemoteObject

      public RemoteObject()
  • Method Details

    • getType

      public ObjectType getType()
      Object type.
    • setType

      public void setType(ObjectType type)
      Object type.
    • getSubtype

      public ObjectSubtypeHint 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

      public void setSubtype(ObjectSubtypeHint subtype)
      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

      public String getClassName()
      Object class (constructor) name. Specified for object type values only.
    • setClassName

      public void setClassName(String className)
      Object class (constructor) name. Specified for object type values only.
    • getValue

      public Object getValue()
      Remote object value in case of primitive values or JSON values (if it was requested).
    • setValue

      public void setValue(Object value)
      Remote object value in case of primitive values or JSON values (if it was requested).
    • getUnserializableValue

      public String getUnserializableValue()
      Primitive value which can not be JSON-stringified does not have value, but gets this property.
    • setUnserializableValue

      public void setUnserializableValue(String unserializableValue)
      Primitive value which can not be JSON-stringified does not have value, but gets this property.
    • getDescription

      public String getDescription()
      String representation of the object.
    • setDescription

      public void setDescription(String description)
      String representation of the object.
    • getWebDriverValue

      public WebDriverValue getWebDriverValue()
      WebDriver BiDi representation of the value.
    • setWebDriverValue

      public void setWebDriverValue(WebDriverValue webDriverValue)
      WebDriver BiDi representation of the value.
    • getObjectId

      public String getObjectId()
      Unique object identifier (for non-primitive values).
    • setObjectId

      public void setObjectId(String objectId)
      Unique object identifier (for non-primitive values).
    • getPreview

      public ObjectPreview getPreview()
      Preview containing abbreviated property values. Specified for object type values only.
    • setPreview

      public void setPreview(ObjectPreview preview)
      Preview containing abbreviated property values. Specified for object type values only.
    • getCustomPreview

      public CustomPreview getCustomPreview()
    • setCustomPreview

      public void setCustomPreview(CustomPreview customPreview)
    • toString

      public String toString()
      Overrides:
      toString in class Object