puppeteer/new-docs/puppeteer.protocol.domsnapshot.layouttreenode.domnodeindex.md

14 lines
620 B
Markdown
Raw Normal View History

<!-- 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; [LayoutTreeNode](./puppeteer.protocol.domsnapshot.layouttreenode.md) &gt; [domNodeIndex](./puppeteer.protocol.domsnapshot.layouttreenode.domnodeindex.md)
## Protocol.DOMSnapshot.LayoutTreeNode.domNodeIndex property
The index of the related DOM node in the `domNodes` array returned by `getSnapshot`<!-- -->.
<b>Signature:</b>
```typescript
domNodeIndex: integer;
```