import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { DocumentSnapshot } = Protocol.DOMSnapshot;
Document snapshot.
Properties
documentURL: StringIndex
Document URL that Document
or FrameOwner
node points to.
title: StringIndex
Document title.
baseURL: StringIndex
Base URL that Document
or FrameOwner
node uses for URL completion.
contentLanguage: StringIndex
Contains the document's content language.
encodingName: StringIndex
Contains the document's character set encoding.
publicId: StringIndex
DocumentType
node's publicId.
systemId: StringIndex
DocumentType
node's systemId.
frameId: StringIndex
Frame ID for frame owner elements and also for the document node.
nodes: NodeTreeSnapshot
A table with dom nodes.
layout: LayoutTreeSnapshot
The nodes in the layout tree.
textBoxes: TextBoxSnapshot
The post-layout inline text nodes.