Class DocumentSnapshot
- java.lang.Object
-
- org.openqa.selenium.devtools.v107.domsnapshot.model.DocumentSnapshot
-
public class DocumentSnapshot extends java.lang.Object
Document snapshot.
-
-
Constructor Summary
Constructors Constructor Description DocumentSnapshot(StringIndex documentURL, StringIndex title, StringIndex baseURL, StringIndex contentLanguage, StringIndex encodingName, StringIndex publicId, StringIndex systemId, StringIndex frameId, NodeTreeSnapshot nodes, LayoutTreeSnapshot layout, TextBoxSnapshot textBoxes, java.util.Optional<java.lang.Number> scrollOffsetX, java.util.Optional<java.lang.Number> scrollOffsetY, java.util.Optional<java.lang.Number> contentWidth, java.util.Optional<java.lang.Number> contentHeight)
-
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.java.util.Optional<java.lang.Number>
getContentHeight()
Document content height.StringIndex
getContentLanguage()
Contains the document's content language.java.util.Optional<java.lang.Number>
getContentWidth()
Document content width.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.util.Optional<java.lang.Number>
getScrollOffsetX()
Horizontal scroll offset.java.util.Optional<java.lang.Number>
getScrollOffsetY()
Vertical scroll offset.StringIndex
getSystemId()
`DocumentType` node's systemId.TextBoxSnapshot
getTextBoxes()
The post-layout inline text nodes.StringIndex
getTitle()
Document title.
-
-
-
Constructor Detail
-
DocumentSnapshot
public DocumentSnapshot(StringIndex documentURL, StringIndex title, StringIndex baseURL, StringIndex contentLanguage, StringIndex encodingName, StringIndex publicId, StringIndex systemId, StringIndex frameId, NodeTreeSnapshot nodes, LayoutTreeSnapshot layout, TextBoxSnapshot textBoxes, java.util.Optional<java.lang.Number> scrollOffsetX, java.util.Optional<java.lang.Number> scrollOffsetY, java.util.Optional<java.lang.Number> contentWidth, java.util.Optional<java.lang.Number> contentHeight)
-
-
Method Detail
-
getDocumentURL
public StringIndex getDocumentURL()
Document URL that `Document` or `FrameOwner` node points to.
-
getTitle
public StringIndex getTitle()
Document title.
-
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.util.Optional<java.lang.Number> getScrollOffsetX()
Horizontal scroll offset.
-
getScrollOffsetY
public java.util.Optional<java.lang.Number> getScrollOffsetY()
Vertical scroll offset.
-
getContentWidth
public java.util.Optional<java.lang.Number> getContentWidth()
Document content width.
-
getContentHeight
public java.util.Optional<java.lang.Number> getContentHeight()
Document content height.
-
-