OptionalavoidSkips deleting session/authentication cookies currently maintaining active connections. (Default: false)
OptionaldataThe types of data to clear. By default, this will clear all types of data. This can potentially include data types not explicitly listed here.
backgroundFetch - Background Fetchcache - Cache (includes cachestorage and shadercache)cookies - Cookiesdownloads - DownloadsfileSystems - File SystemsindexedDB - IndexedDBlocalStorage - Local StorageserviceWorkers - Service WorkerswebSQL - WebSQLOptionalexcludeClear data for all origins except these ones. Cannot be used with origins. Example: ['http://workspace.here.io']
OptionaloriginThe behavior for matching data to origins.
third-parties-included (default) - Storage is matched on origin in first-party contexts and top-level-site in third-party contexts.origin-in-all-contexts - Storage is matched on origin only in all contexts.OptionaloriginsClear data for only these origins. Cannot be used with excludeOrigins. Example: ['http://localhost:8081', 'https://example.com']
Options for clearing various types of browsing data. Based on Electron's session.clearData() API.