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
EmbedderData
Embedder-specific target metadata. This is only set for targets of type "tab".
[JsonPropertyName("embedderData")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public object? EmbedderData { 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, present for "iframe" and "worker" targets. For nested workers, this is the "ancestor" frame that created the first worker in the nested chain.
[JsonPropertyName("parentFrameId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ParentFrameId { get; set; }
Property Value
ParentId
Id of the parent target, if any. For example, "iframe" target may have a "page" parent.
[JsonPropertyName("parentId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ParentId { 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; }