protocol/dom library
Classes
- AttributeModifiedEvent
- AttributeRemovedEvent
- BackendNode
- Backend node with a friendly name.
- BackendNodeId
- Unique DOM node identifier used to reference a node that may not have been pushed to the front-end.
- 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
. Thisid
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. - 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.
- NodeId
- Unique DOM node identifier.
- PerformSearchResult
- PseudoElementAddedEvent
- PseudoElementRemovedEvent
- Quad
- An array of quad vertices, x immediately followed by y for each point, points clock-wise.
- 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.
- ShadowRootType
- Shadow root type.