Class PropertyDescriptor

java.lang.Object
org.openqa.selenium.devtools.v85.runtime.model.PropertyDescriptor

public class PropertyDescriptor extends Object
Object property descriptor.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Property name or symbol description.
    • getValue

      public Optional<RemoteObject> getValue()
      The value associated with the property.
    • getWritable

      public Optional<Boolean> getWritable()
      True if the value associated with the property may be changed (data descriptors only).
    • getGet

      public Optional<RemoteObject> getGet()
      A function which serves as a getter for the property, or `undefined` if there is no getter (accessor descriptors only).
    • getSet

      public Optional<RemoteObject> getSet()
      A function which serves as a setter for the property, or `undefined` if there is no setter (accessor descriptors only).
    • getConfigurable

      public Boolean getConfigurable()
      True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.
    • getEnumerable

      public Boolean getEnumerable()
      True if this property shows up during enumeration of the properties on the corresponding object.
    • getWasThrown

      public Optional<Boolean> getWasThrown()
      True if the result was thrown during the evaluation.
    • getIsOwn

      public Optional<Boolean> getIsOwn()
      True if the property is owned for the object.
    • getSymbol

      public Optional<RemoteObject> getSymbol()
      Property symbol object, if the property is of the `symbol` type.