< Back

Get-Puppeteer_SetChromeBrowserOptions

Sun Jan 12, 2020 3:38 pm

NAME Get-Puppeteer_SetChromeBrowserOptions



SYNOPSIS

This function returns the Node JS Puppeteer code for setting the chrome browser options.





SYNTAX

Get-Puppeteer_SetChromeBrowserOptions [[-isHeadless] <Boolean>] [[-width] <String>] [[-height] <String>]

[<CommonParameters>]





DESCRIPTION





PARAMETERS

-isHeadless <Boolean>

Select if the chrome browser is executed as headless (no GUI)



Required? false

Position? 1

Default value True

Accept pipeline input? false

Accept wildcard characters? false



-width <String>

The width of the browser viewport



Required? false

Position? 2

Default value 1920

Accept pipeline input? false

Accept wildcard characters? false



-height <String>

The height of the browser viewport



Required? false

Position? 3

Default value 1080

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.String







RELATED LINKS