Class PrivatePropertyDescriptor
- java.lang.Object
-
- org.openqa.selenium.devtools.runtime.model.PrivatePropertyDescriptor
-
@Beta public class PrivatePropertyDescriptor extends java.lang.Object
Object private field descriptor.
-
-
Constructor Summary
Constructors Constructor Description PrivatePropertyDescriptor(java.lang.String name, java.util.Optional<RemoteObject> value, java.util.Optional<RemoteObject> get, java.util.Optional<RemoteObject> set)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<RemoteObject>
getGet()
A function which serves as a getter for the private property, or `undefined` if there is no getter (accessor descriptors only).java.lang.String
getName()
Private property name.java.util.Optional<RemoteObject>
getSet()
A function which serves as a setter for the private property, or `undefined` if there is no setter (accessor descriptors only).java.util.Optional<RemoteObject>
getValue()
The value associated with the private property.
-
-
-
Constructor Detail
-
PrivatePropertyDescriptor
public PrivatePropertyDescriptor(java.lang.String name, java.util.Optional<RemoteObject> value, java.util.Optional<RemoteObject> get, java.util.Optional<RemoteObject> set)
-
-
Method Detail
-
getName
public java.lang.String getName()
Private property name.
-
getValue
public java.util.Optional<RemoteObject> getValue()
The value associated with the private property.
-
getGet
public java.util.Optional<RemoteObject> getGet()
A function which serves as a getter for the private property, or `undefined` if there is no getter (accessor descriptors only).
-
getSet
public java.util.Optional<RemoteObject> getSet()
A function which serves as a setter for the private property, or `undefined` if there is no setter (accessor descriptors only).
-
-