Skip to content

Session.clearData method

Session › clearData

Unofficial

Clears various types of browsing data of the session.

Signature:

clearData(options?: ElectronClearDataOptions | undefined): Promise<void>

Parameters:

ParameterTypeDescription
options?ElectronClearDataOptions | undefinedOptions controlling which browsing data is cleared.

Returns: Promise<void>A promise that resolves when the browsing data has been cleared.