struct Protocol::Target::TargetInfo

Included Modules

Defined in:

protocol/target.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def attached : Bool #

Whether the target has an attached client.


[View source]
def browser_context_id : Browser::BrowserContextID | Nil #

[View source]
def can_access_opener : Bool #

Whether the target has access to the originating window.


[View source]
def opener_frame_id : Page::FrameId | Nil #

Frame id of originating window (is only set if target has an opener).


[View source]
def opener_id : TargetID | Nil #

Opener target Id


[View source]
def subtype : String | Nil #

Provides additional details for specific target types. For example, for the type of "page", this may be set to "portal" or "prerender".


[View source]
def target_id : TargetID #

[View source]
def title : String #

[View source]
def type : String #

[View source]
def url : String #

[View source]