IPage
Namespace: PuppeteerSharp
public interface IPage : IDisposable, IAsyncDisposableProvides methods to interact with a single tab in Chromium. One IBrowser instance might have multiple IPage instances.
Derived: BidiPage, CdpPage, Page
Example
This example creates a page, navigates it to a URL, and then saves a screenshot:
var browser = await Puppeteer.LaunchAsync(new LaunchOptions());var page = await browser.NewPageAsync();await page.GoToAsync("https://example.com");await page.ScreenshotAsync("screenshot.png");await browser.CloseAsync();Made with love by Dario Kondratiuk