Functions/Get-Puppeteer_CloseChromeBrowser.ps1

<#
.SYNOPSIS
    This function returns the Node JS Puppeteer code for closing a chrome browser.
#>

function Get-Puppeteer_CloseChromeBrowser {
    [CmdletBinding(PositionalBinding=$true)]
    [OutputType([String])]
    param ()
    return "await browser.close();"
}