Class TargetInfo
TargetInfo
public sealed class TargetInfo
- Inheritance
-
TargetInfo
- Inherited Members
Properties
Attached
Whether the target has an attached client.
[JsonPropertyName("attached")]
public bool Attached { get; set; }
Property Value
BrowserContextId
browserContextId
[JsonPropertyName("browserContextId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? BrowserContextId { get; set; }
Property Value
CanAccessOpener
Whether the target has access to the originating window.
[JsonPropertyName("canAccessOpener")]
public bool CanAccessOpener { get; set; }
Property Value
OpenerFrameId
Frame id of originating window (is only set if target has an opener).
[JsonPropertyName("openerFrameId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? OpenerFrameId { get; set; }
Property Value
OpenerId
Opener target Id
[JsonPropertyName("openerId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? OpenerId { get; set; }
Property Value
ParentFrameId
Id of the parent frame, only present for the "iframe" targets.
[JsonPropertyName("parentFrameId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ParentFrameId { get; set; }
Property Value
Subtype
Provides additional details for specific target types. For example, for the type of "page", this may be set to "prerender".
[JsonPropertyName("subtype")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Subtype { get; set; }
Property Value
TargetId
targetId
[JsonPropertyName("targetId")]
public string TargetId { get; set; }
Property Value
Title
title
[JsonPropertyName("title")]
public string Title { get; set; }
Property Value
Type
List of types: https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/devtools_agent_host_impl.cc?ss=chromium&q=f:devtools%20-f:out%20%22::kTypeTab%5B%5D%22
[JsonPropertyName("type")]
public string Type { get; set; }
Property Value
Url
url
[JsonPropertyName("url")]
public string Url { get; set; }