Skip to content

Overmiind/Puppeteer-sharp-extra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PuppeteerExtraSharp

NuGet Downloads NuGet Version

PuppeteerExtraSharp is a .NET port of the puppeteer-extra library for Node.js

Plugins

🪄 Puppeteer reCAPTCHA plugin

  • Automatically handles reCAPTCHA challenges (v2, invisible, v3).

🏴 Puppeteer stealth plugin

  • Applies multiple evasions to make headless automation harder to detect.

📃 Puppeteer block resources plugin

  • Block unwanted network requests (scripts, images, documents, etc.) using simple, composable rules

Quick Start

// Initialize plugin builder
var extra = new PuppeteerExtra();

// Enable the Stealth plugin
extra.Use(new StealthPlugin());

// Launch the browser with plugins applied
var browser = await extra.LaunchAsync();

// Create a new page
var page = await browser.NewPageAsync();

await page.GoToAsync("https://google.com");
await Task.Delay(2000);

// Take a screenshot
await page.ScreenshotAsync("extra.png");

Notes

  • Use the reCAPTCHA plugin only on properties you own or where you have explicit permission to automate.
  • Some targets may still detect automation; adjust plugin combinations and browser settings as needed.