Table of Contents

Class TargetInfo

Namespace
OpenQA.Selenium.DevTools.V147.Target
Assembly
Selenium.WebDriver.dll

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

bool

BrowserContextId

browserContextId

[JsonPropertyName("browserContextId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? BrowserContextId { get; set; }

Property Value

string

CanAccessOpener

Whether the target has access to the originating window.

[JsonPropertyName("canAccessOpener")]
public bool CanAccessOpener { get; set; }

Property Value

bool

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

string

OpenerId

Opener target Id

[JsonPropertyName("openerId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? OpenerId { get; set; }

Property Value

string

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

string

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

string

TargetId

targetId

[JsonPropertyName("targetId")]
public string TargetId { get; set; }

Property Value

string

Title

title

[JsonPropertyName("title")]
public string Title { get; set; }

Property Value

string

Type

[JsonPropertyName("type")]
public string Type { get; set; }

Property Value

string

Url

url

[JsonPropertyName("url")]
public string Url { get; set; }

Property Value

string