puppeteer/new-docs/puppeteer.protocol.domsnapshot.documentsnapshot.md
2020-07-13 14:01:35 +01:00

35 lines
3.2 KiB
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [DOMSnapshot](./puppeteer.protocol.domsnapshot.md) &gt; [DocumentSnapshot](./puppeteer.protocol.domsnapshot.documentsnapshot.md)
## Protocol.DOMSnapshot.DocumentSnapshot interface
Document snapshot.
<b>Signature:</b>
```typescript
export interface DocumentSnapshot
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [baseURL](./puppeteer.protocol.domsnapshot.documentsnapshot.baseurl.md) | [StringIndex](./puppeteer.protocol.domsnapshot.stringindex.md) | Base URL that <code>Document</code> or <code>FrameOwner</code> node uses for URL completion. |
| [contentHeight](./puppeteer.protocol.domsnapshot.documentsnapshot.contentheight.md) | number | Document content height. |
| [contentLanguage](./puppeteer.protocol.domsnapshot.documentsnapshot.contentlanguage.md) | [StringIndex](./puppeteer.protocol.domsnapshot.stringindex.md) | Contains the document's content language. |
| [contentWidth](./puppeteer.protocol.domsnapshot.documentsnapshot.contentwidth.md) | number | Document content width. |
| [documentURL](./puppeteer.protocol.domsnapshot.documentsnapshot.documenturl.md) | [StringIndex](./puppeteer.protocol.domsnapshot.stringindex.md) | Document URL that <code>Document</code> or <code>FrameOwner</code> node points to. |
| [encodingName](./puppeteer.protocol.domsnapshot.documentsnapshot.encodingname.md) | [StringIndex](./puppeteer.protocol.domsnapshot.stringindex.md) | Contains the document's character set encoding. |
| [frameId](./puppeteer.protocol.domsnapshot.documentsnapshot.frameid.md) | [StringIndex](./puppeteer.protocol.domsnapshot.stringindex.md) | Frame ID for frame owner elements and also for the document node. |
| [layout](./puppeteer.protocol.domsnapshot.documentsnapshot.layout.md) | [LayoutTreeSnapshot](./puppeteer.protocol.domsnapshot.layouttreesnapshot.md) | The nodes in the layout tree. |
| [nodes](./puppeteer.protocol.domsnapshot.documentsnapshot.nodes.md) | [NodeTreeSnapshot](./puppeteer.protocol.domsnapshot.nodetreesnapshot.md) | A table with dom nodes. |
| [publicId](./puppeteer.protocol.domsnapshot.documentsnapshot.publicid.md) | [StringIndex](./puppeteer.protocol.domsnapshot.stringindex.md) | <code>DocumentType</code> node's publicId. |
| [scrollOffsetX](./puppeteer.protocol.domsnapshot.documentsnapshot.scrolloffsetx.md) | number | Horizontal scroll offset. |
| [scrollOffsetY](./puppeteer.protocol.domsnapshot.documentsnapshot.scrolloffsety.md) | number | Vertical scroll offset. |
| [systemId](./puppeteer.protocol.domsnapshot.documentsnapshot.systemid.md) | [StringIndex](./puppeteer.protocol.domsnapshot.stringindex.md) | <code>DocumentType</code> node's systemId. |
| [textBoxes](./puppeteer.protocol.domsnapshot.documentsnapshot.textboxes.md) | [TextBoxSnapshot](./puppeteer.protocol.domsnapshot.textboxsnapshot.md) | The post-layout inline text nodes. |
| [title](./puppeteer.protocol.domsnapshot.documentsnapshot.title.md) | [StringIndex](./puppeteer.protocol.domsnapshot.stringindex.md) | Document title. |