struct Protocol::Target::TargetInfo
- Protocol::Target::TargetInfo
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
protocol/target.crConstructors
Instance Method Summary
-
#attached : Bool
Whether the target has an attached client.
- #browser_context_id : Browser::BrowserContextID | Nil
-
#can_access_opener : Bool
Whether the target has access to the originating window.
-
#opener_frame_id : Page::FrameId | Nil
Frame id of originating window (is only set if target has an opener).
-
#opener_id : TargetID | Nil
Opener target Id
-
#subtype : String | Nil
Provides additional details for specific target types.
- #target_id : TargetID
- #title : String
- #type : String
- #url : String
Constructor Detail
Instance Method Detail
def opener_frame_id : Page::FrameId | Nil
#
Frame id of originating window (is only set if target has an opener).
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".