Class PropertyDescriptor
java.lang.Object
org.openqa.selenium.devtools.v85.runtime.model.PropertyDescriptor
Object property descriptor.
-
Constructor Summary
ConstructorDescriptionPropertyDescriptor
(String name, Optional<RemoteObject> value, Optional<Boolean> writable, Optional<RemoteObject> get, Optional<RemoteObject> set, Boolean configurable, Boolean enumerable, Optional<Boolean> wasThrown, Optional<Boolean> isOwn, Optional<RemoteObject> symbol) -
Method Summary
Modifier and TypeMethodDescriptionTrue if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.True if this property shows up during enumeration of the properties on the corresponding object.getGet()
A function which serves as a getter for the property, or `undefined` if there is no getter (accessor descriptors only).getIsOwn()
True if the property is owned for the object.getName()
Property name or symbol description.getSet()
A function which serves as a setter for the property, or `undefined` if there is no setter (accessor descriptors only).Property symbol object, if the property is of the `symbol` type.getValue()
The value associated with the property.True if the result was thrown during the evaluation.True if the value associated with the property may be changed (data descriptors only).
-
Constructor Details
-
PropertyDescriptor
public PropertyDescriptor(String name, Optional<RemoteObject> value, Optional<Boolean> writable, Optional<RemoteObject> get, Optional<RemoteObject> set, Boolean configurable, Boolean enumerable, Optional<Boolean> wasThrown, Optional<Boolean> isOwn, Optional<RemoteObject> symbol)
-
-
Method Details
-
getName
Property name or symbol description. -
getValue
The value associated with the property. -
getWritable
True if the value associated with the property may be changed (data descriptors only). -
getGet
A function which serves as a getter for the property, or `undefined` if there is no getter (accessor descriptors only). -
getSet
A function which serves as a setter for the property, or `undefined` if there is no setter (accessor descriptors only). -
getConfigurable
True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object. -
getEnumerable
True if this property shows up during enumeration of the properties on the corresponding object. -
getWasThrown
True if the result was thrown during the evaluation. -
getIsOwn
True if the property is owned for the object. -
getSymbol
Property symbol object, if the property is of the `symbol` type.
-