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; set; }
Property Value
BrowserContextId
Gets the target browser contextId.
[JsonConverter(typeof(AnyTypeToStringConverter))]
public string BrowserContextId { get; set; }
Property Value
OpenerId
Get the target that opened this target.
public string OpenerId { get; set; }
Property Value
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
TargetId
Gets the target identifier.
public string TargetId { get; set; }
Property Value
- string
The target identifier.
Type
Gets the type.
public TargetType Type { get; set; }
Property Value
- TargetType
The type.
Url
Gets the URL.
public string Url { get; set; }
Property Value
- string
The URL.