Functions/Remove-PWAssets.ps1
function Remove-PWAssets { <# .SYNOPSIS Removes Playwright assets. .DESCRIPTION The `Remove-PWAssets` function removes Playwright assets. It removes all .NET projects generated by the `Install-PWBrowsers` function. .EXAMPLE Remove-PWAssets Demonstrates removing Playwright assets. #> [CmdletBinding()] param() $consoleLocation = Join-Path -Path $env:TEMP -ChildPath 'PlaywrightAssets' if (Test-Path -Path $consoleLocation) { Remove-Item -Recurse -Force $consoleLocation } } |