How to delete Specific URL cache from chrome browser using powershell or javascript

I tried Powershell code but it’s deleting all entire cache folder. But I want to clear cache for perticular URL(like www.google.co.in or google). I have jave script also. but it’s showing error with call back function. I will provide both code here. Let me know if you know the solution.

Powershell code

taskkill /F /IM “chrome.exe”
taskkill /F /IM “excel.exe”
Start-Sleep -Seconds 5
$Items = @(‘Archived History’,
‘Cache*’,
‘Cookies’,
‘History’,
‘Login Data’,
‘Top Sites’,
‘Visited Links’,
‘Web Data’)
$Folder = “$($env:LOCALAPPDATA)\Google\Chrome\User Data\Default”
$Items | % {
if (Test-Path “$Folder$") {
Remove-Item "$Folder$

}
}

Javascript code:
chrome.browsingData.remove({
“origins”: [“https://www.example.com”]
}, {
“cacheStorage”: true,
“cookies”: true,
“fileSystems”: true,
“indexedDB”: true,
“localStorage”: true,
“serviceWorkers”: true,
“webSQL”: true
}, callback);

Thanks,
Stalin