Pup

0.2.1

Browser automation for PowerShell. Control headless or visible Chrome/Chromium browsers via the DevTools Protocol. Automate web scraping, form filling, screenshots, PDF export, network interception, WebSocket monitoring, and session management. Convert Chrome DevTools recordings to PowerShell scripts. Cross-platform support for 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

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

Install-PSResource -Name Pup

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 Puppeteer Chrome Chromium Headless Selenium CDP DevTools Screenshot PDF Testing Web

Cmdlets

Clear-PupPageStorage Convert-PupRecording Enter-PupConsole Export-PupPagePdf Export-PupPageSession Find-PupElements Get-PupBrowser Get-PupElementAttribute Get-PupElementScreenshot Get-PupElementSelector Get-PupElementValue Get-PupPage Get-PupPageConsole Get-PupPageCookie Get-PupPageNetwork Get-PupPageScreenshot Get-PupPageSource Get-PupPageStorage Get-PupWebSocket Import-PupPageSession Install-PupBrowser Invoke-PupElementClick Invoke-PupElementFocus Invoke-PupElementHover Invoke-PupElementScroll Invoke-PupHttpFetch Invoke-PupPageBack Invoke-PupPageForward Invoke-PupPageReload Invoke-PupPageScript Move-PupPage New-PupPage Remove-PupPage Remove-PupPageCookie Select-PupElementOption Send-PupFile Send-PupKey Send-PupWebSocketMessage Set-PupDialogHandler Set-PupElement Set-PupElementAttribute Set-PupElementValue Set-PupHttpAuth Set-PupHttpHeader Set-PupPageCookie Set-PupPageStorage Set-PupPageViewport Start-PupBrowser Stop-PupBrowser Uninstall-PupBrowser Wait-PupElement

Dependencies

This module has no dependencies.

Release Notes

Pup v0.2.0

Browser Automation:
- Install, launch, and control Chrome/Chromium (headless or visible)
- Multi-page/tab management with navigation controls

Web Interaction:
- Find elements via CSS selectors or XPath
- Click, hover, scroll, focus, and fill forms
- Handle dialogs, file uploads, and keyboard input

Data Extraction:
- Screenshots (page or element), PDF export
- Extract HTML, text, attributes, and form values
- Cookie and local/session storage management

Advanced Features:
- Network interception with custom headers and HTTP auth
- WebSocket monitoring and messaging
- Export/import browser sessions
- Convert Chrome DevTools recordings to PowerShell scripts
- Proxy support and stealth mode
- Interactive console mode

Cross-platform: Windows, Linux, macOS | PowerShell 5.1+

FileList

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

Version History

Version Downloads Last updated
0.2.1 (current version) 4 2/6/2026
0.2.0 4 2/6/2026
0.1.0 4 2/3/2026