Skip to content

Latest commit

 

History

History
143 lines (110 loc) · 2.77 KB

File metadata and controls

143 lines (110 loc) · 2.77 KB
external help file Pup.dll-Help.xml
Module Name Pup
online version
schema 2.0.0

Invoke-PupCdpMessage

SYNOPSIS

{{ Fill in the Synopsis }}

SYNTAX

FromPage (Default)

Invoke-PupCdpMessage [-Page] <PupPage> [-Method] <String> [[-Parameters] <Hashtable>] [-AsJson]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

FromBrowser

Invoke-PupCdpMessage [-Browser] <PupBrowser> [-Method] <String> [[-Parameters] <Hashtable>] [-AsJson]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

PARAMETERS

-AsJson

Return raw JSON string instead of parsed object

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Browser

The browser to send the CDP message through (for browser-level domains like SystemInfo)

Type: PupBrowser
Parameter Sets: FromBrowser
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Method

The CDP method to invoke (e.g., 'DOM.getDocument', 'Network.enable')

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Page

The page to send the CDP message through

Type: PupPage
Parameter Sets: FromPage
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Parameters

Parameters to pass to the CDP method

Type: Hashtable
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Pup.Transport.PupPage

Pup.Transport.PupBrowser

OUTPUTS

System.Management.Automation.PSObject

NOTES

RELATED LINKS