package
0.35.0
Repository: https://github.com/mafredri/cdp.git
Documentation: pkg.go.dev

# Functions

NewClient returns a client for the DOM domain with the connection set to conn.
NewCollectClassNamesFromSubtreeArgs initializes CollectClassNamesFromSubtreeArgs with the required arguments.
NewCopyToArgs initializes CopyToArgs with the required arguments.
NewDescribeNodeArgs initializes DescribeNodeArgs with the required arguments.
NewDiscardSearchResultsArgs initializes DiscardSearchResultsArgs with the required arguments.
NewEnableArgs initializes EnableArgs with the required arguments.
NewFocusArgs initializes FocusArgs with the required arguments.
NewGetAnchorElementArgs initializes GetAnchorElementArgs with the required arguments.
NewGetAttributesArgs initializes GetAttributesArgs with the required arguments.
NewGetBoxModelArgs initializes GetBoxModelArgs with the required arguments.
NewGetContainerForNodeArgs initializes GetContainerForNodeArgs with the required arguments.
NewGetContentQuadsArgs initializes GetContentQuadsArgs with the required arguments.
NewGetDocumentArgs initializes GetDocumentArgs with the required arguments.
NewGetElementByRelationArgs initializes GetElementByRelationArgs with the required arguments.
NewGetFileInfoArgs initializes GetFileInfoArgs with the required arguments.
NewGetFlattenedDocumentArgs initializes GetFlattenedDocumentArgs with the required arguments.
NewGetFrameOwnerArgs initializes GetFrameOwnerArgs with the required arguments.
NewGetNodeForLocationArgs initializes GetNodeForLocationArgs with the required arguments.
NewGetNodesForSubtreeByStyleArgs initializes GetNodesForSubtreeByStyleArgs with the required arguments.
NewGetNodeStackTracesArgs initializes GetNodeStackTracesArgs with the required arguments.
NewGetOuterHTMLArgs initializes GetOuterHTMLArgs with the required arguments.
NewGetQueryingDescendantsForContainerArgs initializes GetQueryingDescendantsForContainerArgs with the required arguments.
NewGetRelayoutBoundaryArgs initializes GetRelayoutBoundaryArgs with the required arguments.
NewGetSearchResultsArgs initializes GetSearchResultsArgs with the required arguments.
NewMoveToArgs initializes MoveToArgs with the required arguments.
NewPerformSearchArgs initializes PerformSearchArgs with the required arguments.
NewPushNodeByPathToFrontendArgs initializes PushNodeByPathToFrontendArgs with the required arguments.
NewPushNodesByBackendIDsToFrontendArgs initializes PushNodesByBackendIDsToFrontendArgs with the required arguments.
NewQuerySelectorAllArgs initializes QuerySelectorAllArgs with the required arguments.
NewQuerySelectorArgs initializes QuerySelectorArgs with the required arguments.
NewRemoveAttributeArgs initializes RemoveAttributeArgs with the required arguments.
NewRemoveNodeArgs initializes RemoveNodeArgs with the required arguments.
NewRequestChildNodesArgs initializes RequestChildNodesArgs with the required arguments.
NewRequestNodeArgs initializes RequestNodeArgs with the required arguments.
NewResolveNodeArgs initializes ResolveNodeArgs with the required arguments.
NewScrollIntoViewIfNeededArgs initializes ScrollIntoViewIfNeededArgs with the required arguments.
NewSetAttributesAsTextArgs initializes SetAttributesAsTextArgs with the required arguments.
NewSetAttributeValueArgs initializes SetAttributeValueArgs with the required arguments.
NewSetFileInputFilesArgs initializes SetFileInputFilesArgs with the required arguments.
NewSetInspectedNodeArgs initializes SetInspectedNodeArgs with the required arguments.
NewSetNodeNameArgs initializes SetNodeNameArgs with the required arguments.
NewSetNodeStackTracesEnabledArgs initializes SetNodeStackTracesEnabledArgs with the required arguments.
NewSetNodeValueArgs initializes SetNodeValueArgs with the required arguments.
NewSetOuterHTMLArgs initializes SetOuterHTMLArgs with the required arguments.

# Constants

CompatibilityMode as enums.
CompatibilityMode as enums.
CompatibilityMode as enums.
CompatibilityMode as enums.
LogicalAxes as enums.
LogicalAxes as enums.
LogicalAxes as enums.
LogicalAxes as enums.
PhysicalAxes as enums.
PhysicalAxes as enums.
PhysicalAxes as enums.
PhysicalAxes as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
PseudoType as enums.
ScrollOrientation as enums.
ScrollOrientation as enums.
ScrollOrientation as enums.
ShadowRootType as enums.
ShadowRootType as enums.
ShadowRootType as enums.
ShadowRootType as enums.

# Structs

AttributeModifiedReply is the reply for AttributeModified events.
AttributeRemovedReply is the reply for AttributeRemoved events.
BackendNode Backend node with a friendly name.
BoxModel Box model.
CharacterDataModifiedReply is the reply for CharacterDataModified events.
ChildNodeCountUpdatedReply is the reply for ChildNodeCountUpdated events.
ChildNodeInsertedReply is the reply for ChildNodeInserted events.
ChildNodeRemovedReply is the reply for ChildNodeRemoved events.
CollectClassNamesFromSubtreeArgs represents the arguments for CollectClassNamesFromSubtree in the DOM domain.
CollectClassNamesFromSubtreeReply represents the return values for CollectClassNamesFromSubtree in the DOM domain.
CopyToArgs represents the arguments for CopyTo in the DOM domain.
CopyToReply represents the return values for CopyTo in the DOM domain.
CSSComputedStyleProperty.
DescribeNodeArgs represents the arguments for DescribeNode in the DOM domain.
DescribeNodeReply represents the return values for DescribeNode in the DOM domain.
DetachedElementInfo A structure to hold the top-level node of a detached tree and an array of its retained descendants.
DiscardSearchResultsArgs represents the arguments for DiscardSearchResults in the DOM domain.
DistributedNodesUpdatedReply is the reply for DistributedNodesUpdated events.
DocumentUpdatedReply is the reply for DocumentUpdated events.
EnableArgs represents the arguments for Enable in the DOM domain.
FocusArgs represents the arguments for Focus in the DOM domain.
GetAnchorElementArgs represents the arguments for GetAnchorElement in the DOM domain.
GetAnchorElementReply represents the return values for GetAnchorElement in the DOM domain.
GetAttributesArgs represents the arguments for GetAttributes in the DOM domain.
GetAttributesReply represents the return values for GetAttributes in the DOM domain.
GetBoxModelArgs represents the arguments for GetBoxModel in the DOM domain.
GetBoxModelReply represents the return values for GetBoxModel in the DOM domain.
GetContainerForNodeArgs represents the arguments for GetContainerForNode in the DOM domain.
GetContainerForNodeReply represents the return values for GetContainerForNode in the DOM domain.
GetContentQuadsArgs represents the arguments for GetContentQuads in the DOM domain.
GetContentQuadsReply represents the return values for GetContentQuads in the DOM domain.
GetDetachedDOMNodesReply represents the return values for GetDetachedDOMNodes in the DOM domain.
GetDocumentArgs represents the arguments for GetDocument in the DOM domain.
GetDocumentReply represents the return values for GetDocument in the DOM domain.
GetElementByRelationArgs represents the arguments for GetElementByRelation in the DOM domain.
GetElementByRelationReply represents the return values for GetElementByRelation in the DOM domain.
GetFileInfoArgs represents the arguments for GetFileInfo in the DOM domain.
GetFileInfoReply represents the return values for GetFileInfo in the DOM domain.
GetFlattenedDocumentArgs represents the arguments for GetFlattenedDocument in the DOM domain.
GetFlattenedDocumentReply represents the return values for GetFlattenedDocument in the DOM domain.
GetFrameOwnerArgs represents the arguments for GetFrameOwner in the DOM domain.
GetFrameOwnerReply represents the return values for GetFrameOwner in the DOM domain.
GetNodeForLocationArgs represents the arguments for GetNodeForLocation in the DOM domain.
GetNodeForLocationReply represents the return values for GetNodeForLocation in the DOM domain.
GetNodesForSubtreeByStyleArgs represents the arguments for GetNodesForSubtreeByStyle in the DOM domain.
GetNodesForSubtreeByStyleReply represents the return values for GetNodesForSubtreeByStyle in the DOM domain.
GetNodeStackTracesArgs represents the arguments for GetNodeStackTraces in the DOM domain.
GetNodeStackTracesReply represents the return values for GetNodeStackTraces in the DOM domain.
GetOuterHTMLArgs represents the arguments for GetOuterHTML in the DOM domain.
GetOuterHTMLReply represents the return values for GetOuterHTML in the DOM domain.
GetQueryingDescendantsForContainerArgs represents the arguments for GetQueryingDescendantsForContainer in the DOM domain.
GetQueryingDescendantsForContainerReply represents the return values for GetQueryingDescendantsForContainer in the DOM domain.
GetRelayoutBoundaryArgs represents the arguments for GetRelayoutBoundary in the DOM domain.
GetRelayoutBoundaryReply represents the return values for GetRelayoutBoundary in the DOM domain.
GetSearchResultsArgs represents the arguments for GetSearchResults in the DOM domain.
GetSearchResultsReply represents the return values for GetSearchResults in the DOM domain.
GetTopLayerElementsReply represents the return values for GetTopLayerElements in the DOM domain.
InlineStyleInvalidatedReply is the reply for InlineStyleInvalidated events.
MoveToArgs represents the arguments for MoveTo in the DOM domain.
MoveToReply represents the return values for MoveTo in the DOM domain.
Node DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes.
PerformSearchArgs represents the arguments for PerformSearch in the DOM domain.
PerformSearchReply represents the return values for PerformSearch in the DOM domain.
PseudoElementAddedReply is the reply for PseudoElementAdded events.
PseudoElementRemovedReply is the reply for PseudoElementRemoved events.
PushNodeByPathToFrontendArgs represents the arguments for PushNodeByPathToFrontend in the DOM domain.
PushNodeByPathToFrontendReply represents the return values for PushNodeByPathToFrontend in the DOM domain.
PushNodesByBackendIDsToFrontendArgs represents the arguments for PushNodesByBackendIDsToFrontend in the DOM domain.
PushNodesByBackendIDsToFrontendReply represents the return values for PushNodesByBackendIDsToFrontend in the DOM domain.
QuerySelectorAllArgs represents the arguments for QuerySelectorAll in the DOM domain.
QuerySelectorAllReply represents the return values for QuerySelectorAll in the DOM domain.
QuerySelectorArgs represents the arguments for QuerySelector in the DOM domain.
QuerySelectorReply represents the return values for QuerySelector in the DOM domain.
Rect Rectangle.
RemoveAttributeArgs represents the arguments for RemoveAttribute in the DOM domain.
RemoveNodeArgs represents the arguments for RemoveNode in the DOM domain.
RequestChildNodesArgs represents the arguments for RequestChildNodes in the DOM domain.
RequestNodeArgs represents the arguments for RequestNode in the DOM domain.
RequestNodeReply represents the return values for RequestNode in the DOM domain.
ResolveNodeArgs represents the arguments for ResolveNode in the DOM domain.
ResolveNodeReply represents the return values for ResolveNode in the DOM domain.
RGBA A structure holding an RGBA color.
ScrollIntoViewIfNeededArgs represents the arguments for ScrollIntoViewIfNeeded in the DOM domain.
SetAttributesAsTextArgs represents the arguments for SetAttributesAsText in the DOM domain.
SetAttributeValueArgs represents the arguments for SetAttributeValue in the DOM domain.
SetChildNodesReply is the reply for SetChildNodes events.
SetFileInputFilesArgs represents the arguments for SetFileInputFiles in the DOM domain.
SetInspectedNodeArgs represents the arguments for SetInspectedNode in the DOM domain.
SetNodeNameArgs represents the arguments for SetNodeName in the DOM domain.
SetNodeNameReply represents the return values for SetNodeName in the DOM domain.
SetNodeStackTracesEnabledArgs represents the arguments for SetNodeStackTracesEnabled in the DOM domain.
SetNodeValueArgs represents the arguments for SetNodeValue in the DOM domain.
SetOuterHTMLArgs represents the arguments for SetOuterHTML in the DOM domain.
ShadowRootPoppedReply is the reply for ShadowRootPopped events.
ShadowRootPushedReply is the reply for ShadowRootPushed events.
ShapeOutsideInfo CSS Shape Outside details.
TopLayerElementsUpdatedReply is the reply for TopLayerElementsUpdated events.

# Interfaces

AttributeModifiedClient is a client for AttributeModified events.
AttributeRemovedClient is a client for AttributeRemoved events.
CharacterDataModifiedClient is a client for CharacterDataModified events.
ChildNodeCountUpdatedClient is a client for ChildNodeCountUpdated events.
ChildNodeInsertedClient is a client for ChildNodeInserted events.
ChildNodeRemovedClient is a client for ChildNodeRemoved events.
DistributedNodesUpdatedClient is a client for DistributedNodesUpdated events.
DocumentUpdatedClient is a client for DocumentUpdated events.
InlineStyleInvalidatedClient is a client for InlineStyleInvalidated events.
PseudoElementAddedClient is a client for PseudoElementAdded events.
PseudoElementRemovedClient is a client for PseudoElementRemoved events.
SetChildNodesClient is a client for SetChildNodes events.
ShadowRootPoppedClient is a client for ShadowRootPopped events.
ShadowRootPushedClient is a client for ShadowRootPushed events.
TopLayerElementsUpdatedClient is a client for TopLayerElementsUpdated events.

# Type aliases

BackendNodeID Unique DOM node identifier used to reference a node that may not have been pushed to the front-end.
CompatibilityMode Document compatibility mode.
LogicalAxes ContainerSelector logical axes.
NodeID Unique DOM node identifier.
PhysicalAxes ContainerSelector physical axes.
PseudoType Pseudo element type.
Quad An array of quad vertices, x immediately followed by y for each point, points clock-wise.
ScrollOrientation Physical scroll orientation.
ShadowRootType Shadow root type.