木偶特技
Puppeteer更加犀利是的.NET端口
快速开始
// Initialization plugin builder
var extra = new PuppeteerExtra ();
// Use stealth plugin
extra . Use ( new StealthPlugin ());
// Launch the puppeteer browser with plugins
var browser = await extra . LaunchAsync ( new LaunchOptions ()
{
Headless = false
});
// Create a new page
var page = await browser . NewPageAsync ();
await page . GoToAsync ( " http://google.com " );
// Wait 2 second
await page . WaitForTimeoutAsync ( 2000 );
// Take the screenshot
await
1