clearAll

fun clearAll()

Removes all cookies from the desktop WebView cookie store.

Other WebViews sharing the same native profile or data store may be affected.

Platform notes:

PlatformNative operationKey behavior
WindowsWebView2 DeleteAllCookiesClears cookies under the current WebView2 profile.
LinuxWebKitGTK webkit_website_data_manager_clearClears WebKit website data of type cookies.
macOSWKHTTPCookieStore.getAllCookies + deleteCookieEnumerates the store and deletes each cookie.