| external help file | Pup.dll-Help.xml |
|---|---|
| Module Name | Pup |
| online version | |
| schema | 2.0.0 |
Removes a browser event handler.
Remove-PupBrowserHandler -Event <PupBrowserEvent> [-Browser <PupBrowser>] [-BrowserType <String>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Removes a previously registered event handler from the browser. After removal, the event will no longer trigger any custom behavior.
Remove-PupBrowserHandler -Browser $browser -Event PopupCreated
Removes the popup handler, allowing popups to open normally again.
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: FalseName 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: FalseThe 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{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.