Clears the record of web pages that the user has visited (browsing history).
You can use the removalOptions
parameter, which is a browsingData.RemovalOptions
object, to:
- clear only records of web pages visited after a given time
- control whether to clear only records of normal web pages or to clear records of hosted apps and extensions as well.
This is an asynchronous function that returns a Promise
.