loadUnpacked

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.


suspend fun loadUnpacked(path: String, enableInIncognito: Boolean? = null): Extensions.LoadUnpackedReturn

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.

Parameters

path

Absolute file path.

enableInIncognito

Enable the extension in incognito