Table of Contents

Class CdpPageTarget

Namespace
PuppeteerSharp.Cdp
Assembly
PuppeteerSharp.dll

Page target.

public class CdpPageTarget : CdpTarget, ITarget
Inheritance
CdpPageTarget
Implements
Derived

Methods

CheckIfInitialized()

Check is the target is not initialized.

protected override void CheckIfInitialized()

PageAsync()

Returns the IPage associated with the target. If the target is not "page", "webview" or "background_page" returns null.

public override Task<IPage> PageAsync()

Returns

Task<IPage>

a task that returns a IPage.