WebContext.setWebProcessExtensionsDirectory

Set the directory where WebKit will look for web process extensions.

This method must be called before loading anything in this context, otherwise it will not have any effect. You can connect to #WebKitWebContext::initialize-web-process-extensions to call this method before anything is loaded.

If your web process extension is installed to an unusual location, then you may also need to call webkit.web_context.WebContext.addPathToSandbox.

class WebContext
void
setWebProcessExtensionsDirectory
(
string directory
)

Parameters

directory string

the directory to add