mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
35 lines
3.8 KiB
Markdown
35 lines
3.8 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [DOMSnapshot](./puppeteer.protocol.domsnapshot.md) > [NodeTreeSnapshot](./puppeteer.protocol.domsnapshot.nodetreesnapshot.md)
|
||
|
|
||
|
## Protocol.DOMSnapshot.NodeTreeSnapshot interface
|
||
|
|
||
|
Table containing nodes.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export interface NodeTreeSnapshot
|
||
|
```
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Property | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [attributes](./puppeteer.protocol.domsnapshot.nodetreesnapshot.attributes.md) | [ArrayOfStrings](./puppeteer.protocol.domsnapshot.arrayofstrings.md)<!-- -->\[\] | Attributes of an <code>Element</code> node. Flatten name, value pairs. |
|
||
|
| [backendNodeId](./puppeteer.protocol.domsnapshot.nodetreesnapshot.backendnodeid.md) | [DOM.BackendNodeId](./puppeteer.protocol.dom.backendnodeid.md)<!-- -->\[\] | <code>Node</code>'s id, corresponds to DOM.Node.backendNodeId. |
|
||
|
| [contentDocumentIndex](./puppeteer.protocol.domsnapshot.nodetreesnapshot.contentdocumentindex.md) | [RareIntegerData](./puppeteer.protocol.domsnapshot.rareintegerdata.md) | The index of the document in the list of the snapshot documents. |
|
||
|
| [currentSourceURL](./puppeteer.protocol.domsnapshot.nodetreesnapshot.currentsourceurl.md) | [RareStringData](./puppeteer.protocol.domsnapshot.rarestringdata.md) | The selected url for nodes with a srcset attribute. |
|
||
|
| [inputChecked](./puppeteer.protocol.domsnapshot.nodetreesnapshot.inputchecked.md) | [RareBooleanData](./puppeteer.protocol.domsnapshot.rarebooleandata.md) | Only set for radio and checkbox input elements, indicates if the element has been checked |
|
||
|
| [inputValue](./puppeteer.protocol.domsnapshot.nodetreesnapshot.inputvalue.md) | [RareStringData](./puppeteer.protocol.domsnapshot.rarestringdata.md) | Only set for input elements, contains the input's associated text value. |
|
||
|
| [isClickable](./puppeteer.protocol.domsnapshot.nodetreesnapshot.isclickable.md) | [RareBooleanData](./puppeteer.protocol.domsnapshot.rarebooleandata.md) | Whether this DOM node responds to mouse clicks. This includes nodes that have had click event listeners attached via JavaScript as well as anchor tags that naturally navigate when clicked. |
|
||
|
| [nodeName](./puppeteer.protocol.domsnapshot.nodetreesnapshot.nodename.md) | [StringIndex](./puppeteer.protocol.domsnapshot.stringindex.md)<!-- -->\[\] | <code>Node</code>'s nodeName. |
|
||
|
| [nodeType](./puppeteer.protocol.domsnapshot.nodetreesnapshot.nodetype.md) | [integer](./puppeteer.protocol.integer.md)<!-- -->\[\] | <code>Node</code>'s nodeType. |
|
||
|
| [nodeValue](./puppeteer.protocol.domsnapshot.nodetreesnapshot.nodevalue.md) | [StringIndex](./puppeteer.protocol.domsnapshot.stringindex.md)<!-- -->\[\] | <code>Node</code>'s nodeValue. |
|
||
|
| [optionSelected](./puppeteer.protocol.domsnapshot.nodetreesnapshot.optionselected.md) | [RareBooleanData](./puppeteer.protocol.domsnapshot.rarebooleandata.md) | Only set for option elements, indicates if the element has been selected |
|
||
|
| [originURL](./puppeteer.protocol.domsnapshot.nodetreesnapshot.originurl.md) | [RareStringData](./puppeteer.protocol.domsnapshot.rarestringdata.md) | The url of the script (if any) that generates this node. |
|
||
|
| [parentIndex](./puppeteer.protocol.domsnapshot.nodetreesnapshot.parentindex.md) | [integer](./puppeteer.protocol.integer.md)<!-- -->\[\] | Parent node index. |
|
||
|
| [pseudoType](./puppeteer.protocol.domsnapshot.nodetreesnapshot.pseudotype.md) | [RareStringData](./puppeteer.protocol.domsnapshot.rarestringdata.md) | Type of a pseudo element node. |
|
||
|
| [textValue](./puppeteer.protocol.domsnapshot.nodetreesnapshot.textvalue.md) | [RareStringData](./puppeteer.protocol.domsnapshot.rarestringdata.md) | Only set for textarea elements, contains the text value. |
|
||
|
|