protocol/dom library

Classes

AttributeModifiedEvent
AttributeRemovedEvent
BackendNode
Backend node with a friendly name.
BoxModel
Box model.
CharacterDataModifiedEvent
ChildNodeCountUpdatedEvent
ChildNodeInsertedEvent
ChildNodeRemovedEvent
CSSComputedStyleProperty
DistributedNodesUpdatedEvent
DOMApi
This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object that has an id. This id can be used to get additional information on the Node, resolve it into the JavaScript object wrapper, etc. It is important that client receives DOM events only for the nodes that are known to the client. Backend keeps track of the nodes that were sent to the client and never sends the same node twice. It is client's responsibility to collect information about the nodes that were sent to the client. Note that iframe owner elements will return corresponding document elements as their child nodes.
GetFrameOwnerResult
GetNodeForLocationResult
Node
DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes. DOMNode is a base node mirror type.
PerformSearchResult
PseudoElementAddedEvent
PseudoElementRemovedEvent
Rect
Rectangle.
RGBA
A structure holding an RGBA color.
SetChildNodesEvent
ShadowRootPoppedEvent
ShadowRootPushedEvent
ShapeOutsideInfo
CSS Shape Outside details.

Enums

CompatibilityMode
Document compatibility mode.
LogicalAxes
ContainerSelector logical axes
PhysicalAxes
ContainerSelector physical axes
PseudoType
Pseudo element type.
ScrollOrientation
Physical scroll orientation
ShadowRootType
Shadow root type.

Extension Types

BackendNodeId
Unique DOM node identifier used to reference a node that may not have been pushed to the front-end.
NodeId
Unique DOM node identifier.
Quad
An array of quad vertices, x immediately followed by y for each point, points clock-wise.