Clear browser history

Hi @Lakshya_Garg2

try this VB code in invoke code activity :

Dim chromeHistoryPath As String = "C:\Users\" & WRITE UR Environment UserName HERE & "\AppData\Local\Google\Chrome\User Data\Default\"

Dim filesToDelete As String() = {"History"}
    For Each fileName As String In filesToDelete
        Dim filePath As String = Path.Combine(chromeHistoryPath, fileName)
            If File.Exists(filePath) Then
                File.Delete(filePath)
            End If

I also suggest that you send hot key (Ctrl+Shft+Del) and send hotkey (Enter) while the browser window is open.This will directly clear the browser history