Class TargetInfo
Represents information about the target of a DevTools Protocol command
public class TargetInfo
- Inheritance
-
TargetInfo
- Inherited Members
Constructors
TargetInfo(string, string, string, string, bool, string?, string?)
Initializes a new instance of the TargetInfo type.
public TargetInfo(string targetId, string type, string title, string url, bool isAttached, string? openerId, string? browserContextId)
Parameters
targetId
stringThe ID of the target.
type
stringThe type of target.
title
stringThe title of the target.
url
stringThe URL of the target.
isAttached
boolWhether the protocol is attached to the target.
openerId
stringThe ID of the opener of the target.
browserContextId
stringThe browser context ID.
Properties
BrowserContextId
Gets the browser context ID.
public string? BrowserContextId { get; }
Property Value
IsAttached
Gets a value indicating if the protocol is attached to the target.
public bool IsAttached { get; }
Property Value
OpenerId
Gets the ID of the opener of the target.
public string? OpenerId { get; }
Property Value
TargetId
Gets the ID of the target.
public string TargetId { get; }
Property Value
Title
Gets the title of the target.
public string Title { get; }
Property Value
Type
Gets the type of target.
public string Type { get; }
Property Value
Url
Gets the URL of the target.
public string Url { get; }