Class DocumentSnapshot
java.lang.Object
io.webfolder.cdp.type.domsnapshot.DocumentSnapshot
Document snapshot.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBase URL that Document or FrameOwner node uses for URL completion.Document content height.Contains the document's content language.Document content width.Document URL that Document or FrameOwner node points to.Contains the document's character set encoding.Frame ID for frame owner elements and also for the document node.The nodes in the layout tree.getNodes()
A table with dom nodes.DocumentType node's publicId.Horizontal scroll offset.Vertical scroll offset.DocumentType node's systemId.The post-layout inline text nodes.getTitle()
Document title.void
setBaseURL
(Integer baseURL) Base URL that Document or FrameOwner node uses for URL completion.void
setContentHeight
(Double contentHeight) Document content height.void
setContentLanguage
(Integer contentLanguage) Contains the document's content language.void
setContentWidth
(Double contentWidth) Document content width.void
setDocumentURL
(Integer documentURL) Document URL that Document or FrameOwner node points to.void
setEncodingName
(Integer encodingName) Contains the document's character set encoding.void
setFrameId
(Integer frameId) Frame ID for frame owner elements and also for the document node.void
setLayout
(LayoutTreeSnapshot layout) The nodes in the layout tree.void
setNodes
(NodeTreeSnapshot nodes) A table with dom nodes.void
setPublicId
(Integer publicId) DocumentType node's publicId.void
setScrollOffsetX
(Double scrollOffsetX) Horizontal scroll offset.void
setScrollOffsetY
(Double scrollOffsetY) Vertical scroll offset.void
setSystemId
(Integer systemId) DocumentType node's systemId.void
setTextBoxes
(TextBoxSnapshot textBoxes) The post-layout inline text nodes.void
Document title.toString()
-
Constructor Details
-
DocumentSnapshot
public DocumentSnapshot()
-
-
Method Details
-
getDocumentURL
Document URL that Document or FrameOwner node points to. -
setDocumentURL
Document URL that Document or FrameOwner node points to. -
getTitle
Document title. -
setTitle
Document title. -
getBaseURL
Base URL that Document or FrameOwner node uses for URL completion. -
setBaseURL
Base URL that Document or FrameOwner node uses for URL completion. -
getContentLanguage
Contains the document's content language. -
setContentLanguage
Contains the document's content language. -
getEncodingName
Contains the document's character set encoding. -
setEncodingName
Contains the document's character set encoding. -
getPublicId
DocumentType node's publicId. -
setPublicId
DocumentType node's publicId. -
getSystemId
DocumentType node's systemId. -
setSystemId
DocumentType node's systemId. -
getFrameId
Frame ID for frame owner elements and also for the document node. -
setFrameId
Frame ID for frame owner elements and also for the document node. -
getNodes
A table with dom nodes. -
setNodes
A table with dom nodes. -
getLayout
The nodes in the layout tree. -
setLayout
The nodes in the layout tree. -
getTextBoxes
The post-layout inline text nodes. -
setTextBoxes
The post-layout inline text nodes. -
getScrollOffsetX
Horizontal scroll offset. -
setScrollOffsetX
Horizontal scroll offset. -
getScrollOffsetY
Vertical scroll offset. -
setScrollOffsetY
Vertical scroll offset. -
getContentWidth
Document content width. -
setContentWidth
Document content width. -
getContentHeight
Document content height. -
setContentHeight
Document content height. -
toString
-