Functions/Get-Puppeteer_LogUrl.ps1
<#
.SYNOPSIS This function returns the Node JS Puppeteer code for logging the current URL to the console #> function Get-Puppeteer_LogUrl { [CmdletBinding(PositionalBinding=$true)] [OutputType([String])] param () return "console.log(page.url());" } |