Class DocumentSnapshot

java.lang.Object
io.webfolder.cdp.type.domsnapshot.DocumentSnapshot

public class DocumentSnapshot extends Object
Document snapshot
  • Constructor Details

    • DocumentSnapshot

      public DocumentSnapshot()
  • Method Details

    • getDocumentURL

      public Integer getDocumentURL()
      Document URL that Document or FrameOwner node points to.
    • setDocumentURL

      public void setDocumentURL(Integer documentURL)
      Document URL that Document or FrameOwner node points to.
    • getTitle

      public Integer getTitle()
      Document title.
    • setTitle

      public void setTitle(Integer title)
      Document title.
    • getBaseURL

      public Integer getBaseURL()
      Base URL that Document or FrameOwner node uses for URL completion.
    • setBaseURL

      public void setBaseURL(Integer baseURL)
      Base URL that Document or FrameOwner node uses for URL completion.
    • getContentLanguage

      public Integer getContentLanguage()
      Contains the document's content language.
    • setContentLanguage

      public void setContentLanguage(Integer contentLanguage)
      Contains the document's content language.
    • getEncodingName

      public Integer getEncodingName()
      Contains the document's character set encoding.
    • setEncodingName

      public void setEncodingName(Integer encodingName)
      Contains the document's character set encoding.
    • getPublicId

      public Integer getPublicId()
      DocumentType node's publicId.
    • setPublicId

      public void setPublicId(Integer publicId)
      DocumentType node's publicId.
    • getSystemId

      public Integer getSystemId()
      DocumentType node's systemId.
    • setSystemId

      public void setSystemId(Integer systemId)
      DocumentType node's systemId.
    • getFrameId

      public Integer getFrameId()
      Frame ID for frame owner elements and also for the document node.
    • setFrameId

      public void setFrameId(Integer frameId)
      Frame ID for frame owner elements and also for the document node.
    • getNodes

      public NodeTreeSnapshot getNodes()
      A table with dom nodes.
    • setNodes

      public void setNodes(NodeTreeSnapshot nodes)
      A table with dom nodes.
    • getLayout

      public LayoutTreeSnapshot getLayout()
      The nodes in the layout tree.
    • setLayout

      public void setLayout(LayoutTreeSnapshot layout)
      The nodes in the layout tree.
    • getTextBoxes

      public TextBoxSnapshot getTextBoxes()
      The post-layout inline text nodes.
    • setTextBoxes

      public void setTextBoxes(TextBoxSnapshot textBoxes)
      The post-layout inline text nodes.
    • getScrollOffsetX

      public Double getScrollOffsetX()
      Horizontal scroll offset.
    • setScrollOffsetX

      public void setScrollOffsetX(Double scrollOffsetX)
      Horizontal scroll offset.
    • getScrollOffsetY

      public Double getScrollOffsetY()
      Vertical scroll offset.
    • setScrollOffsetY

      public void setScrollOffsetY(Double scrollOffsetY)
      Vertical scroll offset.
    • getContentWidth

      public Double getContentWidth()
      Document content width.
    • setContentWidth

      public void setContentWidth(Double contentWidth)
      Document content width.
    • getContentHeight

      public Double getContentHeight()
      Document content height.
    • setContentHeight

      public void setContentHeight(Double contentHeight)
      Document content height.