How to clear Microsoft edge browsing history

How to clear Microsoft edge browsing history. In the IE there was a command which we could execute to clear the history. However I am unable to create a workflow which can delete the edge history. Can someone send a sample workflow?

Edge browsing history can be found in the following folder.

%LOCALAPPDATA%\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC\

Deleting all folders that start with #! symbol will delete browsing history and cache. You have to kill Edge before doing this.

        var path = Environment.ExpandEnvironmentVariables(@"%LOCALAPPDATA%\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC\");
        var dirs = Directory.GetDirectories(path, "#!*").ToList();
        Parallel.ForEach(dirs, (dir) =>            
        {
            try
            {
                Directory.Delete(dir, true);
            }
            catch { }
        });