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
targetIdstringThe ID of the target.
typestringThe type of target.
titlestringThe title of the target.
urlstringThe URL of the target.
isAttachedboolWhether the protocol is attached to the target.
openerIdstringThe ID of the opener of the target.
browserContextIdstringThe 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; }