Table of Contents

Class TargetInfo

Namespace
PuppeteerSharp
Assembly
PuppeteerSharp.dll

Target info.

public class TargetInfo
Inheritance
TargetInfo

Properties

Attached

Gets whether the target is attached.

public bool Attached { get; }

Property Value

bool

BrowserContextId

Gets the target browser contextId.

public string BrowserContextId { get; }

Property Value

string

OpenerId

Get the target that opened this target.

public string OpenerId { get; }

Property Value

string

Subtype

Provides additional details for specific target types. For example, for the type of "page", this may be set to "portal" or "prerender".

public string Subtype { get; set; }

Property Value

string

TargetId

Gets the target identifier.

public string TargetId { get; }

Property Value

string

The target identifier.

Type

Gets the type.

public TargetType Type { get; }

Property Value

TargetType

The type.

Url

Gets the URL.

public string Url { get; }

Property Value

string

The URL.