< Back

Get-Puppeteer_SetValueForSelector

Sun Jan 12, 2020 3:39 pm

NAME Get-Puppeteer_SetValueForSelector



SYNOPSIS

This function returns the Node JS Puppeteer code for setting a value for a selector on a browser page.

A typical usage of this function is to select a value from a drop-down list,

where selectorName is the selector for drop-down list (<select> </select> pair),

and value is the 'value' attribute in <option>.





SYNTAX

Get-Puppeteer_SetValueForSelector [-selectorName] <String> [-value] <String> [<CommonParameters>]





DESCRIPTION





PARAMETERS

-selectorName <String>

The name of the selector.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-value <String>

The value to set.



Required? true

Position? 2

Default value

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