ExtensionsDomain

Defines commands and events for browser extensions.

Official doc

Functions

Link copied to clipboard
inline suspend fun getStorageItems(id: String, storageArea: StorageArea, optionalArgs: GetStorageItemsRequest.Builder.() -> Unit = {}): GetStorageItemsResponse

Gets data from extension storage in the given area. If keys is specified, these are used to filter the result.

Link copied to clipboard

Installs an unpacked extension from the filesystem similar to --load-extension CLI flags. Returns extension ID once the extension has been installed. Available if the client is connected using the --remote-debugging-pipe flag and the --enable-unsafe-extension-debugging flag is set.