Class SharedStorageAccessParams
java.lang.Object
org.openqa.selenium.devtools.v126.storage.model.SharedStorageAccessParams
Bundles the parameters for shared storage access events whose
presence/absence can vary according to SharedStorageAccessType.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWhether or not to set an entry for a key if that key is already present.getKey()Key for a specific entry in an origin's shared storage.Name of the registered operation to be run.Spec of the module script URL.The operation's serialized data in bytes (converted to a string).Array of candidate URLs' specs, along with any associated metadata.getValue()Value for a specific entry in an origin's shared storage.
-
Constructor Details
-
SharedStorageAccessParams
-
-
Method Details
-
getScriptSourceUrl
Spec of the module script URL. Present only for SharedStorageAccessType.documentAddModule. -
getOperationName
Name of the registered operation to be run. Present only for SharedStorageAccessType.documentRun and SharedStorageAccessType.documentSelectURL. -
getSerializedData
The operation's serialized data in bytes (converted to a string). Present only for SharedStorageAccessType.documentRun and SharedStorageAccessType.documentSelectURL. -
getUrlsWithMetadata
Array of candidate URLs' specs, along with any associated metadata. Present only for SharedStorageAccessType.documentSelectURL. -
getKey
Key for a specific entry in an origin's shared storage. Present only for SharedStorageAccessType.documentSet, SharedStorageAccessType.documentAppend, SharedStorageAccessType.documentDelete, SharedStorageAccessType.workletSet, SharedStorageAccessType.workletAppend, SharedStorageAccessType.workletDelete, SharedStorageAccessType.workletGet, SharedStorageAccessType.headerSet, SharedStorageAccessType.headerAppend, and SharedStorageAccessType.headerDelete. -
getValue
Value for a specific entry in an origin's shared storage. Present only for SharedStorageAccessType.documentSet, SharedStorageAccessType.documentAppend, SharedStorageAccessType.workletSet, SharedStorageAccessType.workletAppend, SharedStorageAccessType.headerSet, and SharedStorageAccessType.headerAppend. -
getIgnoreIfPresent
Whether or not to set an entry for a key if that key is already present. Present only for SharedStorageAccessType.documentSet, SharedStorageAccessType.workletSet, and SharedStorageAccessType.headerSet.
-