struct Protocol::Page::Frame
- Protocol::Page::Frame
- Struct
- Value
- Object
Overview
Information about the Frame on the page.
Included Modules
- JSON::Serializable
Defined in:
protocol/page.crConstructors
Instance Method Summary
-
#ad_frame_status : AdFrameStatus | Nil
Indicates whether this frame was tagged as an ad and why.
-
#cross_origin_isolated_context_type : CrossOriginIsolatedContextType
Indicates whether this is a cross origin isolated context.
-
#domain_and_registry : String
Frame document's registered domain, taking the public suffixes list into account.
-
#gated_api_features : Array(GatedAPIFeatures)
Indicated which gated APIs / features are available.
-
#id : FrameId
Frame unique identifier.
-
#loader_id : Network::LoaderId
Identifier of the loader associated with this frame.
-
#mime_type : String
Frame document's mimeType as determined by the browser.
-
#name : String | Nil
Frame's name as specified in the tag.
-
#parent_id : FrameId | Nil
Parent frame identifier.
-
#secure_context_type : SecureContextType
Indicates whether the main document is a secure context and explains why that is the case.
-
#security_origin : String
Frame document's security origin.
-
#unreachable_url : String | Nil
If the frame failed to load, this contains the URL that could not be loaded.
-
#url : String
Frame document's URL without fragment.
-
#url_fragment : String | Nil
Frame document's URL fragment including the '#'.
Constructor Detail
Instance Method Detail
Indicates whether this frame was tagged as an ad and why.
Indicates whether this is a cross origin isolated context.
Frame document's registered domain, taking the public suffixes list into account. Extracted from the Frame's url. Example URLs: http://www.google.com/file.html -> "google.com" http://a.b.co.uk/file.html -> "b.co.uk"
Indicated which gated APIs / features are available.
Indicates whether the main document is a secure context and explains why that is the case.
If the frame failed to load, this contains the URL that could not be loaded. Note that unlike url above, this URL may contain a fragment.