Skip to main content

Module extensions

Module extensions 

Source
Expand description

Defines commands and events for browser extensions.

Method names for the Extensions domain, for use with CdpClient::call.

This domain is experimental and may change without notice.

Constants§

CLEAR_STORAGE_ITEMS
Clears extension storage in the given storageArea.
GET_EXTENSIONS
Gets a list of all unpacked extensions.
GET_STORAGE_ITEMS
Gets data from extension storage in the given storageArea. If keys is specified, these are used to filter the result.
LOAD_UNPACKED
Installs an unpacked extension from the filesystem similar to –load-extension CLI flags. Returns extension ID once the extension has been installed.
REMOVE_STORAGE_ITEMS
Removes keys from extension storage in the given storageArea.
SET_STORAGE_ITEMS
Sets values in extension storage in the given storageArea. The provided values will be merged with existing values in the storage area.
TRIGGER_ACTION
Runs an extension default action.
UNINSTALL
Uninstalls an unpacked extension (others not supported) from the profile.