Class DocumentSnapshot
- java.lang.Object
-
- org.openqa.selenium.devtools.domsnapshot.model.DocumentSnapshot
-
public class DocumentSnapshot extends java.lang.Object
Document snapshot.
-
-
Constructor Summary
Constructors Constructor Description DocumentSnapshot(StringIndex documentURL, StringIndex baseURL, StringIndex contentLanguage, StringIndex encodingName, StringIndex publicId, StringIndex systemId, StringIndex frameId, NodeTreeSnapshot nodes, LayoutTreeSnapshot layout, TextBoxSnapshot textBoxes, java.lang.Number scrollOffsetX, java.lang.Number scrollOffsetY)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringIndex
getBaseURL()
Base URL that `Document` or `FrameOwner` node uses for URL completion.StringIndex
getContentLanguage()
Contains the document's content language.StringIndex
getDocumentURL()
Document URL that `Document` or `FrameOwner` node points to.StringIndex
getEncodingName()
Contains the document's character set encoding.StringIndex
getFrameId()
Frame ID for frame owner elements and also for the document node.LayoutTreeSnapshot
getLayout()
The nodes in the layout tree.NodeTreeSnapshot
getNodes()
A table with dom nodes.StringIndex
getPublicId()
`DocumentType` node's publicId.java.lang.Number
getScrollOffsetX()
Horizontal scroll offset.java.lang.Number
getScrollOffsetY()
Vertical scroll offset.StringIndex
getSystemId()
`DocumentType` node's systemId.TextBoxSnapshot
getTextBoxes()
The post-layout inline text nodes.
-
-
-
Constructor Detail
-
DocumentSnapshot
public DocumentSnapshot(StringIndex documentURL, StringIndex baseURL, StringIndex contentLanguage, StringIndex encodingName, StringIndex publicId, StringIndex systemId, StringIndex frameId, NodeTreeSnapshot nodes, LayoutTreeSnapshot layout, TextBoxSnapshot textBoxes, java.lang.Number scrollOffsetX, java.lang.Number scrollOffsetY)
-
-
Method Detail
-
getDocumentURL
public StringIndex getDocumentURL()
Document URL that `Document` or `FrameOwner` node points to.
-
getBaseURL
public StringIndex getBaseURL()
Base URL that `Document` or `FrameOwner` node uses for URL completion.
-
getContentLanguage
public StringIndex getContentLanguage()
Contains the document's content language.
-
getEncodingName
public StringIndex getEncodingName()
Contains the document's character set encoding.
-
getPublicId
public StringIndex getPublicId()
`DocumentType` node's publicId.
-
getSystemId
public StringIndex getSystemId()
`DocumentType` node's systemId.
-
getFrameId
public StringIndex getFrameId()
Frame ID for frame owner elements and also for the document node.
-
getNodes
public NodeTreeSnapshot getNodes()
A table with dom nodes.
-
getLayout
public LayoutTreeSnapshot getLayout()
The nodes in the layout tree.
-
getTextBoxes
public TextBoxSnapshot getTextBoxes()
The post-layout inline text nodes.
-
getScrollOffsetX
public java.lang.Number getScrollOffsetX()
Horizontal scroll offset.
-
getScrollOffsetY
public java.lang.Number getScrollOffsetY()
Vertical scroll offset.
-
-