Pup

0.4.0

Browser automation for PowerShell using the Chrome DevTools Protocol. Scrape websites, fill forms, take screenshots, export PDFs, and record interactions as replayable scripts. Works with PowerShell 5.1+ on Windows, Linux, and macOS.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Pup -RequiredVersion 0.4.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Pup -Version 0.4.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 Anton Lindström. All rights reserved.

Package Details

Author(s)

  • Anton Lindström

Tags

Browser Automation WebScraping Scraping Puppeteer Chrome Chromium Headless Selenium CDP DevTools Screenshot PDF Testing Web E2E Crawler RPA WebDriver CrossPlatform Linux macOS Windows

Cmdlets

Clear-PupRecording Clear-PupStorage ConvertTo-PupScript Enter-PupConsole Export-PupPdf Export-PupSession Find-PupElements Get-PupBrowser Get-PupBrowserHandler Get-PupCertificate Get-PupConsole Get-PupCookie Get-PupElementAttribute Get-PupElementPattern Get-PupElementScreenshot Get-PupElementSelector Get-PupElementValue Get-PupFrame Get-PupNetwork Get-PupPage Get-PupPageHandler Get-PupPageScreenshot Get-PupRecording Get-PupSource Get-PupStorage Get-PupWebSocket Import-PupSession Install-PupBrowser Invoke-PupCdpMessage Invoke-PupElementClick Invoke-PupElementFocus Invoke-PupElementHover Invoke-PupElementScroll Invoke-PupHttpFetch Invoke-PupPageBack Invoke-PupPageForward Invoke-PupPageReload Invoke-PupPageScroll Invoke-PupScript Move-PupPage New-PupPage Remove-PupBrowserHandler Remove-PupCookie Remove-PupPage Remove-PupPageHandler Select-PupElementOption Send-PupFile Send-PupKey Send-PupWebSocketMessage Set-PupCookie Set-PupElement Set-PupElementAttribute Set-PupElementValue Set-PupBrowserHandler Set-PupHttpAuth Set-PupPageHandler Set-PupHttpHeader Set-PupPagePermission Set-PupStorage Set-PupViewport Start-PupBrowser Start-PupRecording Stop-PupBrowser Stop-PupRecording Uninstall-PupBrowser Wait-PupElement

Dependencies

This module has no dependencies.

Release Notes

v0.4.0
- Added frame support: Get-PupFrame and -Frame parameter for Find-PupElements, Wait-PupElement, Invoke-PupScript, Get-PupSource
- Added event handler system for browser and page-level events
- New commands: Set/Get/Remove-PupBrowserHandler and Set/Get/Remove-PupPageHandler
- Browser events: PopupCreated, PageCreated, PageClosed, Disconnected
- Page events: Dialog, Console, PageError, Load, Request, Response, and more
- ScriptBlock support for custom event handling
- Built-in actions (Accept, Dismiss, Ignore) for dialogs and popups

See CHANGELOG.md for full version history.

FileList

  • Pup.nuspec
  • System.Numerics.Vectors.dll
  • Microsoft.Bcl.AsyncInterfaces.dll
  • Microsoft.Extensions.Primitives.dll
  • PuppeteerSharp.dll
  • System.Runtime.CompilerServices.Unsafe.dll
  • Microsoft.Extensions.DependencyInjection.Abstractions.dll
  • Pup.deps.json
  • System.Buffers.dll
  • System.Text.Encodings.Web.dll
  • Microsoft.Extensions.DependencyInjection.dll
  • Pup.dll
  • System.ComponentModel.Annotations.dll
  • System.Text.Json.dll
  • Microsoft.Extensions.Logging.Abstractions.dll
  • System.Diagnostics.DiagnosticSource.dll
  • System.Threading.Tasks.Extensions.dll
  • Microsoft.Extensions.Logging.dll
  • Pup.pdb
  • System.Management.Automation.dll
  • en-US\Pup.dll-Help.xml
  • Microsoft.Extensions.Options.dll
  • Pup.psd1
  • System.Memory.dll

Version History

Version Downloads Last updated
0.4.4 5 2/23/2026
0.4.3 21 2/17/2026
0.4.2 10 2/15/2026
0.4.1 2 2/15/2026
0.4.0 (current version) 3 2/15/2026
0.3.2 2,238 2/12/2026
0.3.1 14 2/11/2026
0.3.0 9 2/10/2026
0.2.2 6 2/9/2026
0.2.1 5 2/6/2026
0.2.0 4 2/6/2026
0.1.0 4 2/3/2026
Show more