struct Protocol::DOMSnapshot::DocumentSnapshot
- Protocol::DOMSnapshot::DocumentSnapshot
- Struct
- Value
- Object
Overview
Document snapshot.
Included Modules
- JSON::Serializable
Defined in:
protocol/dom_snapshot.crConstructors
Instance Method Summary
-
#base_url : StringIndex
Base URL that
Document
orFrameOwner
node uses for URL completion. -
#content_height : Number::Primitive | Nil
Document content height.
-
#content_language : StringIndex
Contains the document's content language.
-
#content_width : Number::Primitive | Nil
Document content width.
-
#document_url : StringIndex
Document URL that
Document
orFrameOwner
node points to. -
#encoding_name : StringIndex
Contains the document's character set encoding.
-
#frame_id : StringIndex
Frame ID for frame owner elements and also for the document node.
-
#layout : LayoutTreeSnapshot
The nodes in the layout tree.
-
#nodes : NodeTreeSnapshot
A table with dom nodes.
-
#public_id : StringIndex
DocumentType
node's publicId. -
#scroll_offset_x : Number::Primitive | Nil
Horizontal scroll offset.
-
#scroll_offset_y : Number::Primitive | Nil
Vertical scroll offset.
-
#system_id : StringIndex
DocumentType
node's systemId. -
#text_boxes : TextBoxSnapshot
The post-layout inline text nodes.
-
#title : StringIndex
Document title.