package
0.0.0-20200525080501-418ac89e6fd2
Repository: https://github.com/bootgo/cdproto.git
Documentation: pkg.go.dev

# Functions

CollectClassNamesFromSubtree collects class names for the node with given id and all of it's child nodes.
CopyTo creates a deep copy of the specified node and places it into the target container before the given anchor.
DescribeNode describes node given its id, does not require domain to be enabled.
Disable disables DOM agent for the given page.
DiscardSearchResults discards search results from the session with the given id.
Enable enables DOM agent for the given page.
Focus focuses the given element.
GetAttributes returns attributes for the specified node.
GetBoxModel returns boxes for the given node.
GetContentQuads returns quads that describe node position on the page.
GetDocument returns the root DOM node (and optionally the subtree) to the caller.
GetFlattenedDocument returns the root DOM node (and optionally the subtree) to the caller.
GetFrameOwner returns iframe node that owns iframe with the given domain.
GetNodeForLocation returns node id at given location.
GetOuterHTML returns node's HTML markup.
GetRelayoutBoundary returns the id of the nearest ancestor that is a relayout boundary.
GetSearchResults returns search results from given fromIndex to given toIndex from the search with the given identifier.
MarkUndoableState marks last undoable state.
MoveTo moves node into the new container, places it before the given anchor.
PerformSearch searches for a given string in the DOM tree.
PushNodeByPathToFrontend requests that the node is sent to the caller given its path.
PushNodesByBackendIdsToFrontend requests that a batch of nodes is sent to the caller given their backend node ids.
QuerySelector executes querySelector on a given node.
QuerySelectorAll executes querySelectorAll on a given node.
Redo re-does the last undone action.
RemoveAttribute removes attribute with given name from an element with given id.
RemoveNode removes node with given id.
RequestChildNodes requests that children of the node with given id are returned to the caller in form of setChildNodes events where not only immediate children are retrieved, but all children down to the specified depth.
RequestNode requests that the node is sent to the caller given the JavaScript node object reference.
ResolveNode resolves the JavaScript node object for a given NodeId or BackendNodeId.
SetAttributesAsText sets attributes on element with given id.
SetAttributeValue sets attribute for an element with given id.
SetFileInputFiles sets files for the given file input element.
SetInspectedNode enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).
SetNodeName sets node name for a node with given id.
SetNodeValue sets node value for a node with given id.
SetOuterHTML sets node HTML markup, returns new node id.
Undo undoes the last performed action.

# Constants

Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.

# Structs

BoxModel box model.
CollectClassNamesFromSubtreeParams collects class names for the node with given id and all of it's child nodes.
CollectClassNamesFromSubtreeReturns return values.
CopyToParams creates a deep copy of the specified node and places it into the target container before the given anchor.
CopyToReturns return values.
DescribeNodeParams describes node given its id, does not require domain to be enabled.
DescribeNodeReturns return values.
DisableParams disables DOM agent for the given page.
DiscardSearchResultsParams discards search results from the session with the given id.
EnableParams enables DOM agent for the given page.
EventAttributeModified fired when Element's attribute is modified.
EventAttributeRemoved fired when Element's attribute is removed.
EventCharacterDataModified mirrors DOMCharacterDataModified event.
EventChildNodeCountUpdated fired when Container's child node count has changed.
EventChildNodeInserted mirrors DOMNodeInserted event.
EventChildNodeRemoved mirrors DOMNodeRemoved event.
EventDistributedNodesUpdated called when distribution is changed.
EventDocumentUpdated fired when Document has been totally updated.
EventInlineStyleInvalidated fired when Element's inline style is modified via a CSS property modification.
EventPseudoElementAdded called when a pseudo element is added to an element.
EventPseudoElementRemoved called when a pseudo element is removed from an element.
EventSetChildNodes fired when backend wants to provide client with the missing DOM structure.
EventShadowRootPopped called when shadow root is popped from the element.
EventShadowRootPushed called when shadow root is pushed into the element.
FocusParams focuses the given element.
GetAttributesParams returns attributes for the specified node.
GetAttributesReturns return values.
GetBoxModelParams returns boxes for the given node.
GetBoxModelReturns return values.
GetContentQuadsParams returns quads that describe node position on the page.
GetContentQuadsReturns return values.
GetDocumentParams returns the root DOM node (and optionally the subtree) to the caller.
GetDocumentReturns return values.
GetFlattenedDocumentParams returns the root DOM node (and optionally the subtree) to the caller.
GetFlattenedDocumentReturns return values.
GetFrameOwnerParams returns iframe node that owns iframe with the given domain.
GetFrameOwnerReturns return values.
GetNodeForLocationParams returns node id at given location.
GetNodeForLocationReturns return values.
GetOuterHTMLParams returns node's HTML markup.
GetOuterHTMLReturns return values.
GetRelayoutBoundaryParams returns the id of the nearest ancestor that is a relayout boundary.
GetRelayoutBoundaryReturns return values.
GetSearchResultsParams returns search results from given fromIndex to given toIndex from the search with the given identifier.
GetSearchResultsReturns return values.
MarkUndoableStateParams marks last undoable state.
MoveToParams moves node into the new container, places it before the given anchor.
MoveToReturns return values.
PerformSearchParams searches for a given string in the DOM tree.
PerformSearchReturns return values.
PushNodeByPathToFrontendParams requests that the node is sent to the caller given its path.
PushNodeByPathToFrontendReturns return values.
PushNodesByBackendIdsToFrontendParams requests that a batch of nodes is sent to the caller given their backend node ids.
PushNodesByBackendIdsToFrontendReturns return values.
QuerySelectorAllParams executes querySelectorAll on a given node.
QuerySelectorAllReturns return values.
QuerySelectorParams executes querySelector on a given node.
QuerySelectorReturns return values.
Rect Rectangle.
RedoParams re-does the last undone action.
RemoveAttributeParams removes attribute with given name from an element with given id.
RemoveNodeParams removes node with given id.
RequestChildNodesParams requests that children of the node with given id are returned to the caller in form of setChildNodes events where not only immediate children are retrieved, but all children down to the specified depth.
RequestNodeParams requests that the node is sent to the caller given the JavaScript node object reference.
RequestNodeReturns return values.
ResolveNodeParams resolves the JavaScript node object for a given NodeId or BackendNodeId.
ResolveNodeReturns return values.
SetAttributesAsTextParams sets attributes on element with given id.
SetAttributeValueParams sets attribute for an element with given id.
SetFileInputFilesParams sets files for the given file input element.
SetInspectedNodeParams enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).
SetNodeNameParams sets node name for a node with given id.
SetNodeNameReturns return values.
SetNodeValueParams sets node value for a node with given id.
SetOuterHTMLParams sets node HTML markup, returns new node id.
ShapeOutsideInfo CSS Shape Outside details.
UndoParams undoes the last performed action.

# Type aliases

Quad an array of quad vertices, x immediately followed by y for each point, points clock-wise.