Session.clearData method
Session › clearData
Unofficial
Clears various types of browsing data of the session.Signature:
clearData(options?: ElectronClearDataOptions | undefined): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| options? | ElectronClearDataOptions | undefined | Options controlling which browsing data is cleared. |
Returns: Promise<void> — A promise that resolves when the browsing data has been cleared.