Class DocumentSnapshot
- java.lang.Object
-
- org.openqa.selenium.devtools.domsnapshot.model.DocumentSnapshot
-
public class DocumentSnapshot extends java.lang.ObjectDocument 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 StringIndexgetBaseURL()Base URL that `Document` or `FrameOwner` node uses for URL completion.StringIndexgetContentLanguage()Contains the document's content language.StringIndexgetDocumentURL()Document URL that `Document` or `FrameOwner` node points to.StringIndexgetEncodingName()Contains the document's character set encoding.StringIndexgetFrameId()Frame ID for frame owner elements and also for the document node.LayoutTreeSnapshotgetLayout()The nodes in the layout tree.NodeTreeSnapshotgetNodes()A table with dom nodes.StringIndexgetPublicId()`DocumentType` node's publicId.java.lang.NumbergetScrollOffsetX()Horizontal scroll offset.java.lang.NumbergetScrollOffsetY()Vertical scroll offset.StringIndexgetSystemId()`DocumentType` node's systemId.TextBoxSnapshotgetTextBoxes()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.
-
-