setPreloads

external fun setPreloads(preloads: ReadonlyArray<String>)(source)

Adds scripts that will be executed on ALL web contents that are associated with this session just before normal preload scripts run.

Deprecated: Use the new ses.registerPreloadScript API.