Vital.sandbox
Webview

self:clear_history

Client

Clears all browsing data and history from the webview


Syntax

local status = self:clear_history()

Parameters

TypeNameDescription

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

Clear a webview's browsing history
local browser = webview.create()

browser:clear_history()

On this page