PrivateFunctions/Get-Puppeteer_LaunchChromeBrowser.ps1
<#
.SYNOPSIS This function returns the Node JS Puppeteer code for launching a chrome browser. #> function Get-Puppeteer_LaunchChromeBrowser { [CmdletBinding(PositionalBinding=$true)] [OutputType([String])] param () return "const browser = await puppeteer.launch(chromeBrowserOptions);" } |