Package-level declarations
Types
Backend node with a friendly name.
Unique DOM node identifier used to reference a node that may not have been pushed to the front-end.
Request object containing input parameters for the DOMDomain.collectClassNamesFromSubtree command.
Response type for the DOMDomain.collectClassNamesFromSubtree command.
Document compatibility mode.
Request object containing input parameters for the DOMDomain.copyTo command.
Response type for the DOMDomain.copyTo command.
(undocumented in the protocol definition)
A CSS selector string, as defined by the W3C.
Request object containing input parameters for the DOMDomain.describeNode command.
Response type for the DOMDomain.describeNode command.
A dummy response object for the DOMDomain.disable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
Request object containing input parameters for the DOMDomain.discardSearchResults command.
A dummy response object for the DOMDomain.discardSearchResults command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
Represents HTML attributes of a DOM element.
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.
This enum doesn't have a proper description because it was generated from an inline declaration. Its name was inferred based on the place where it is used:
Request object containing input parameters for the DOMDomain.enable command.
A dummy response object for the DOMDomain.enable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
Request object containing input parameters for the DOMDomain.focus command.
A dummy response object for the DOMDomain.focus command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
Request object containing input parameters for the DOMDomain.getAnchorElement command.
Response type for the DOMDomain.getAnchorElement command.
Request object containing input parameters for the DOMDomain.getAttributes command.
Response type for the DOMDomain.getAttributes command.
Request object containing input parameters for the DOMDomain.getBoxModel command.
Response type for the DOMDomain.getBoxModel command.
Request object containing input parameters for the DOMDomain.getContainerForNode command.
Response type for the DOMDomain.getContainerForNode command.
Request object containing input parameters for the DOMDomain.getContentQuads command.
Response type for the DOMDomain.getContentQuads command.
Request object containing input parameters for the DOMDomain.getDocument command.
Response type for the DOMDomain.getDocument command.
Request object containing input parameters for the DOMDomain.getElementByRelation command.
Response type for the DOMDomain.getElementByRelation command.
Request object containing input parameters for the DOMDomain.getFileInfo command.
Response type for the DOMDomain.getFileInfo command.
Request object containing input parameters for the DOMDomain.getFlattenedDocument command.
Response type for the DOMDomain.getFlattenedDocument command.
Request object containing input parameters for the DOMDomain.getFrameOwner command.
Response type for the DOMDomain.getFrameOwner command.
Request object containing input parameters for the DOMDomain.getNodeForLocation command.
Response type for the DOMDomain.getNodeForLocation command.
Request object containing input parameters for the DOMDomain.getNodesForSubtreeByStyle command.
Response type for the DOMDomain.getNodesForSubtreeByStyle command.
Request object containing input parameters for the DOMDomain.getNodeStackTraces command.
Response type for the DOMDomain.getNodeStackTraces command.
Request object containing input parameters for the DOMDomain.getOuterHTML command.
Response type for the DOMDomain.getOuterHTML command.
Request object containing input parameters for the DOMDomain.getQueryingDescendantsForContainer command.
Response type for the DOMDomain.getQueryingDescendantsForContainer command.
Request object containing input parameters for the DOMDomain.getRelayoutBoundary command.
Response type for the DOMDomain.getRelayoutBoundary command.
Request object containing input parameters for the DOMDomain.getSearchResults command.
Response type for the DOMDomain.getSearchResults command.
Response type for the DOMDomain.getTopLayerElements command.
A dummy response object for the DOMDomain.hideHighlight command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
A dummy response object for the DOMDomain.highlightNode command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
A dummy response object for the DOMDomain.highlightRect command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
This enum doesn't have a proper description because it was generated from an inline declaration. Its name was inferred based on the place where it is used:
ContainerSelector logical axes
A dummy response object for the DOMDomain.markUndoableState command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
Request object containing input parameters for the DOMDomain.moveTo command.
Response type for the DOMDomain.moveTo command.
DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes. DOMNode is a base node mirror type.
Request object containing input parameters for the DOMDomain.performSearch command.
Response type for the DOMDomain.performSearch command.
ContainerSelector physical axes
Pseudo element type.
Request object containing input parameters for the DOMDomain.pushNodeByPathToFrontend command.
Response type for the DOMDomain.pushNodeByPathToFrontend command.
Request object containing input parameters for the DOMDomain.pushNodesByBackendIdsToFrontend command.
Response type for the DOMDomain.pushNodesByBackendIdsToFrontend command.
Request object containing input parameters for the DOMDomain.querySelectorAll command.
Response type for the DOMDomain.querySelectorAll command.
Request object containing input parameters for the DOMDomain.querySelector command.
Response type for the DOMDomain.querySelector command.
A dummy response object for the DOMDomain.redo command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
Request object containing input parameters for the DOMDomain.removeAttribute command.
A dummy response object for the DOMDomain.removeAttribute command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
Request object containing input parameters for the DOMDomain.removeNode command.
A dummy response object for the DOMDomain.removeNode command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
Request object containing input parameters for the DOMDomain.requestChildNodes command.
A dummy response object for the DOMDomain.requestChildNodes command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
Request object containing input parameters for the DOMDomain.requestNode command.
Response type for the DOMDomain.requestNode command.
Request object containing input parameters for the DOMDomain.resolveNode command.
Response type for the DOMDomain.resolveNode command.
Request object containing input parameters for the DOMDomain.scrollIntoViewIfNeeded command.
A dummy response object for the DOMDomain.scrollIntoViewIfNeeded command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
Physical scroll orientation
Request object containing input parameters for the DOMDomain.setAttributesAsText command.
A dummy response object for the DOMDomain.setAttributesAsText command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
Request object containing input parameters for the DOMDomain.setAttributeValue command.
A dummy response object for the DOMDomain.setAttributeValue command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
Request object containing input parameters for the DOMDomain.setFileInputFiles command.
A dummy response object for the DOMDomain.setFileInputFiles command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
Request object containing input parameters for the DOMDomain.setInspectedNode command.
A dummy response object for the DOMDomain.setInspectedNode command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
Request object containing input parameters for the DOMDomain.setNodeName command.
Response type for the DOMDomain.setNodeName command.
Request object containing input parameters for the DOMDomain.setNodeStackTracesEnabled command.
A dummy response object for the DOMDomain.setNodeStackTracesEnabled command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
Request object containing input parameters for the DOMDomain.setNodeValue command.
A dummy response object for the DOMDomain.setNodeValue command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
Request object containing input parameters for the DOMDomain.setOuterHTML command.
A dummy response object for the DOMDomain.setOuterHTML command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
Shadow root type.
CSS Shape Outside details.
A dummy response object for the DOMDomain.undo command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.
Functions
Waits until the given selector matches no node in the DOM. Inspects the DOM every pollingPeriod.
Retrieves the ID of the node corresponding to the given selector, and retries until there is a match using the given pollingPeriod.
Retrieves the ID of the node corresponding to the given selector, or null if not found.
Moves the focus to the node corresponding to the given selector, or null if not found.
Gets the value of the attribute attributeName of the node corresponding to the given nodeId, or null if the attribute was not present on the node.
Gets the value of the attribute attributeName of the node corresponding to the given nodeSelector, or null if the selector didn't match any node or if the attribute was not present on the node.
Retrieves the root Node of the current document.
Retrieves the ID of the root node of the current document.
Retrieves the ID of the node corresponding to the given selector, or throw an exception if not found.
Gets the attributes of the node corresponding to the given nodeId.
Gets the attributes of the node corresponding to the given nodeSelector, or null if the selector didn't match any node.
Sets the attribute of the given name to the given value on the node corresponding to the given nodeSelector. Throws an exception if the selector didn't match any node.