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.

Parameters

directory

the directory to add