Skip to content

Latest commit

 

History

History
104 lines (78 loc) · 2.13 KB

File metadata and controls

104 lines (78 loc) · 2.13 KB
external help file Pup.dll-Help.xml
Module Name Pup
online version
schema 2.0.0

Remove-PupBrowserHandler

SYNOPSIS

Removes a browser event handler.

SYNTAX

Remove-PupBrowserHandler -Event <PupBrowserEvent> [-Browser <PupBrowser>] [-BrowserType <String>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Removes a previously registered event handler from the browser. After removal, the event will no longer trigger any custom behavior.

EXAMPLES

Example 1: Remove popup handler

Remove-PupBrowserHandler -Browser $browser -Event PopupCreated

Removes the popup handler, allowing popups to open normally again.

PARAMETERS

-Browser

The browser instance

Type: PupBrowser
Parameter Sets: (All)
Aliases:

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

-BrowserType

Name of the browser to stop (used when Browser parameter is not provided)

Type: String
Parameter Sets: (All)
Aliases:

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

-Event

The browser event to remove the handler for

Type: PupBrowserEvent
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
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

OUTPUTS

NOTES

RELATED LINKS