Pup

0.4.3

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.3

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

Install-PSResource -Name Pup -Version 0.4.3

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-PupPermission 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-PupRecording 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-PupDownloadPath Set-PupElement Set-PupElementAttribute Set-PupElementValue Set-PupBrowserHandler Set-PupHttpAuth Set-PupPageHandler Set-PupHttpHeader Set-PupPermission 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.3
- Invoke-PupRecording: replay recorded interactions on a page
- Set-PupDownloadPath: configure browser download directory
- Invoke-PupHttpFetch -OutFile: binary-safe file downloads (images, PDFs, ZIPs)
- Download event handler now fully functional with state tracking and file renaming
- Set-PupViewport now also resizes the browser window to match the viewport
- -Width/-Height on Start-PupBrowser and New-PupPage are now optional (viewport auto-resizes with window)
- -Fullscreen and -Maximized on Start-PupBrowser now work correctly with auto-resizing viewport
- Recording fixes: better input capture, suppressed synthetic clicks from Enter key, AltGr handling

See CHANGELOG.md for full version history.

FileList

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

Version History

Version Downloads Last updated
0.4.4 5 2/23/2026
0.4.3 (current version) 21 2/17/2026
0.4.2 10 2/15/2026
0.4.1 2 2/15/2026
0.4.0 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