Uses of Class
org.openqa.selenium.devtools.v104.dom.model.NodeId
-
-
Uses of NodeId in org.openqa.selenium.devtools.v104.accessibility
Method parameters in org.openqa.selenium.devtools.v104.accessibility with type arguments of type NodeId Modifier and Type Method Description static org.openqa.selenium.devtools.Command<java.util.List<AXNode>>Accessibility. getAXNodeAndAncestors(java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId)Fetches a node and all ancestors up to and including the root.static org.openqa.selenium.devtools.Command<java.util.List<AXNode>>Accessibility. getPartialAXTree(java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId, java.util.Optional<java.lang.Boolean> fetchRelatives)Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.static org.openqa.selenium.devtools.Command<java.util.List<AXNode>>Accessibility. queryAXTree(java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId, java.util.Optional<java.lang.String> accessibleName, java.util.Optional<java.lang.String> role)Query a DOM node's accessibility subtree for accessible name and role. -
Uses of NodeId in org.openqa.selenium.devtools.v104.css
Methods in org.openqa.selenium.devtools.v104.css that return types with arguments of type NodeId Modifier and Type Method Description static org.openqa.selenium.devtools.Command<java.util.List<NodeId>>CSS. takeComputedStyleUpdates()Polls the next batch of computed style updates.Methods in org.openqa.selenium.devtools.v104.css with parameters of type NodeId Modifier and Type Method Description static org.openqa.selenium.devtools.Command<java.lang.Void>CSS. forcePseudoState(NodeId nodeId, java.util.List<java.lang.String> forcedPseudoClasses)Ensures that the given node will have specified pseudo-classes whenever its style is computed by the browser.static org.openqa.selenium.devtools.Command<CSS.GetBackgroundColorsResponse>CSS. getBackgroundColors(NodeId nodeId)static org.openqa.selenium.devtools.Command<java.util.List<CSSComputedStyleProperty>>CSS. getComputedStyleForNode(NodeId nodeId)Returns the computed style for a DOM node identified by `nodeId`.static org.openqa.selenium.devtools.Command<CSS.GetInlineStylesForNodeResponse>CSS. getInlineStylesForNode(NodeId nodeId)Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM attributes) for a DOM node identified by `nodeId`.static org.openqa.selenium.devtools.Command<CSSLayerData>CSS. getLayersForNode(NodeId nodeId)Returns all layers parsed by the rendering engine for the tree scope of a node.static org.openqa.selenium.devtools.Command<CSS.GetMatchedStylesForNodeResponse>CSS. getMatchedStylesForNode(NodeId nodeId)Returns requested styles for a DOM node identified by `nodeId`.static org.openqa.selenium.devtools.Command<java.util.List<PlatformFontUsage>>CSS. getPlatformFontsForNode(NodeId nodeId)Requests information about platform fonts which we used to render child TextNodes in the given node.static org.openqa.selenium.devtools.Command<java.lang.Void>CSS. setEffectivePropertyValueForNode(NodeId nodeId, java.lang.String propertyName, java.lang.String value)Find a rule with the given active property for the given node and set the new value for this property -
Uses of NodeId in org.openqa.selenium.devtools.v104.dom
Methods in org.openqa.selenium.devtools.v104.dom that return types with arguments of type NodeId Modifier and Type Method Description static org.openqa.selenium.devtools.Command<NodeId>DOM. copyTo(NodeId nodeId, NodeId targetNodeId, java.util.Optional<NodeId> insertBeforeNodeId)Creates a deep copy of the specified node and places it into the target container before the given anchor.static org.openqa.selenium.devtools.Command<NodeId>DOM. getContainerForNode(NodeId nodeId, java.util.Optional<java.lang.String> containerName)Returns the container of the given node based on container query conditions.java.util.Optional<NodeId>DOM.GetFrameOwnerResponse. getNodeId()Id of the node at given coordinates, only when enabled and requested document.java.util.Optional<NodeId>DOM.GetNodeForLocationResponse. getNodeId()Id of the node at given coordinates, only when enabled and requested document.static org.openqa.selenium.devtools.Command<java.util.List<NodeId>>DOM. getNodesForSubtreeByStyle(NodeId nodeId, java.util.List<CSSComputedStyleProperty> computedStyles, java.util.Optional<java.lang.Boolean> pierce)Finds nodes with a given computed style in a subtree.static org.openqa.selenium.devtools.Command<java.util.List<NodeId>>DOM. getQueryingDescendantsForContainer(NodeId nodeId)Returns the descendants of a container query container that have container queries against this container.static org.openqa.selenium.devtools.Command<NodeId>DOM. getRelayoutBoundary(NodeId nodeId)Returns the id of the nearest ancestor that is a relayout boundary.static org.openqa.selenium.devtools.Command<java.util.List<NodeId>>DOM. getSearchResults(java.lang.String searchId, java.lang.Integer fromIndex, java.lang.Integer toIndex)Returns search results from given `fromIndex` to given `toIndex` from the search with the given identifier.static org.openqa.selenium.devtools.Event<java.util.List<NodeId>>DOM. inlineStyleInvalidated()static org.openqa.selenium.devtools.Command<NodeId>DOM. moveTo(NodeId nodeId, NodeId targetNodeId, java.util.Optional<NodeId> insertBeforeNodeId)Moves node into the new container, places it before the given anchor.static org.openqa.selenium.devtools.Command<NodeId>DOM. pushNodeByPathToFrontend(java.lang.String path)Requests that the node is sent to the caller given its path.static org.openqa.selenium.devtools.Command<java.util.List<NodeId>>DOM. pushNodesByBackendIdsToFrontend(java.util.List<BackendNodeId> backendNodeIds)Requests that a batch of nodes is sent to the caller given their backend node ids.static org.openqa.selenium.devtools.Command<NodeId>DOM. querySelector(NodeId nodeId, java.lang.String selector)Executes `querySelector` on a given node.static org.openqa.selenium.devtools.Command<java.util.List<NodeId>>DOM. querySelectorAll(NodeId nodeId, java.lang.String selector)Executes `querySelectorAll` on a given node.static org.openqa.selenium.devtools.Command<NodeId>DOM. requestNode(RemoteObjectId objectId)Requests that the node is sent to the caller given the JavaScript node object reference.static org.openqa.selenium.devtools.Command<NodeId>DOM. setNodeName(NodeId nodeId, java.lang.String name)Sets node name for a node with given id.Methods in org.openqa.selenium.devtools.v104.dom with parameters of type NodeId Modifier and Type Method Description static org.openqa.selenium.devtools.Command<java.util.List<java.lang.String>>DOM. collectClassNamesFromSubtree(NodeId nodeId)Collects class names for the node with given id and all of it's child nodes.static org.openqa.selenium.devtools.Command<NodeId>DOM. copyTo(NodeId nodeId, NodeId targetNodeId, java.util.Optional<NodeId> insertBeforeNodeId)Creates a deep copy of the specified node and places it into the target container before the given anchor.static org.openqa.selenium.devtools.Command<java.util.List<java.lang.String>>DOM. getAttributes(NodeId nodeId)Returns attributes for the specified node.static org.openqa.selenium.devtools.Command<NodeId>DOM. getContainerForNode(NodeId nodeId, java.util.Optional<java.lang.String> containerName)Returns the container of the given node based on container query conditions.static org.openqa.selenium.devtools.Command<java.util.List<NodeId>>DOM. getNodesForSubtreeByStyle(NodeId nodeId, java.util.List<CSSComputedStyleProperty> computedStyles, java.util.Optional<java.lang.Boolean> pierce)Finds nodes with a given computed style in a subtree.static org.openqa.selenium.devtools.Command<StackTrace>DOM. getNodeStackTraces(NodeId nodeId)Gets stack traces associated with a Node.static org.openqa.selenium.devtools.Command<java.util.List<NodeId>>DOM. getQueryingDescendantsForContainer(NodeId nodeId)Returns the descendants of a container query container that have container queries against this container.static org.openqa.selenium.devtools.Command<NodeId>DOM. getRelayoutBoundary(NodeId nodeId)Returns the id of the nearest ancestor that is a relayout boundary.static org.openqa.selenium.devtools.Command<NodeId>DOM. moveTo(NodeId nodeId, NodeId targetNodeId, java.util.Optional<NodeId> insertBeforeNodeId)Moves node into the new container, places it before the given anchor.static org.openqa.selenium.devtools.Command<NodeId>DOM. querySelector(NodeId nodeId, java.lang.String selector)Executes `querySelector` on a given node.static org.openqa.selenium.devtools.Command<java.util.List<NodeId>>DOM. querySelectorAll(NodeId nodeId, java.lang.String selector)Executes `querySelectorAll` on a given node.static org.openqa.selenium.devtools.Command<java.lang.Void>DOM. removeAttribute(NodeId nodeId, java.lang.String name)Removes attribute with given name from an element with given id.static org.openqa.selenium.devtools.Command<java.lang.Void>DOM. removeNode(NodeId nodeId)Removes node with given id.static org.openqa.selenium.devtools.Command<java.lang.Void>DOM. requestChildNodes(NodeId nodeId, java.util.Optional<java.lang.Integer> depth, java.util.Optional<java.lang.Boolean> pierce)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.static org.openqa.selenium.devtools.Command<java.lang.Void>DOM. setAttributesAsText(NodeId nodeId, java.lang.String text, java.util.Optional<java.lang.String> name)Sets attributes on element with given id.static org.openqa.selenium.devtools.Command<java.lang.Void>DOM. setAttributeValue(NodeId nodeId, java.lang.String name, java.lang.String value)Sets attribute for an element with given id.static org.openqa.selenium.devtools.Command<java.lang.Void>DOM. setInspectedNode(NodeId nodeId)Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).static org.openqa.selenium.devtools.Command<NodeId>DOM. setNodeName(NodeId nodeId, java.lang.String name)Sets node name for a node with given id.static org.openqa.selenium.devtools.Command<java.lang.Void>DOM. setNodeValue(NodeId nodeId, java.lang.String value)Sets node value for a node with given id.static org.openqa.selenium.devtools.Command<java.lang.Void>DOM. setOuterHTML(NodeId nodeId, java.lang.String outerHTML)Sets node HTML markup, returns new node id.Method parameters in org.openqa.selenium.devtools.v104.dom with type arguments of type NodeId Modifier and Type Method Description static org.openqa.selenium.devtools.Command<NodeId>DOM. copyTo(NodeId nodeId, NodeId targetNodeId, java.util.Optional<NodeId> insertBeforeNodeId)Creates a deep copy of the specified node and places it into the target container before the given anchor.static org.openqa.selenium.devtools.Command<Node>DOM. describeNode(java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId, java.util.Optional<java.lang.Integer> depth, java.util.Optional<java.lang.Boolean> pierce)Describes node given its id, does not require domain to be enabled.static org.openqa.selenium.devtools.Command<java.lang.Void>DOM. focus(java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId)Focuses the given element.static org.openqa.selenium.devtools.Command<BoxModel>DOM. getBoxModel(java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId)Returns boxes for the given node.static org.openqa.selenium.devtools.Command<java.util.List<Quad>>DOM. getContentQuads(java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId)Returns quads that describe node position on the page.static org.openqa.selenium.devtools.Command<java.lang.String>DOM. getOuterHTML(java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId)Returns node's HTML markup.static org.openqa.selenium.devtools.Command<NodeId>DOM. moveTo(NodeId nodeId, NodeId targetNodeId, java.util.Optional<NodeId> insertBeforeNodeId)Moves node into the new container, places it before the given anchor.static org.openqa.selenium.devtools.Command<RemoteObject>DOM. resolveNode(java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<java.lang.String> objectGroup, java.util.Optional<ExecutionContextId> executionContextId)Resolves the JavaScript node object for a given NodeId or BackendNodeId.static org.openqa.selenium.devtools.Command<java.lang.Void>DOM. scrollIntoViewIfNeeded(java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId, java.util.Optional<Rect> rect)Scrolls the specified rect of the given node into view if not already visible.static org.openqa.selenium.devtools.Command<java.lang.Void>DOM. setFileInputFiles(java.util.List<java.lang.String> files, java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId)Sets files for the given file input element.Constructor parameters in org.openqa.selenium.devtools.v104.dom with type arguments of type NodeId Constructor Description GetFrameOwnerResponse(BackendNodeId backendNodeId, java.util.Optional<NodeId> nodeId)GetNodeForLocationResponse(BackendNodeId backendNodeId, FrameId frameId, java.util.Optional<NodeId> nodeId) -
Uses of NodeId in org.openqa.selenium.devtools.v104.dom.model
Methods in org.openqa.selenium.devtools.v104.dom.model that return NodeId Modifier and Type Method Description NodeIdShadowRootPopped. getHostId()Host element id.NodeIdShadowRootPushed. getHostId()Host element id.NodeIdDistributedNodesUpdated. getInsertionPointId()Insertion point where distributed nodes were updated.NodeIdAttributeModified. getNodeId()Id of the node that has changed.NodeIdAttributeRemoved. getNodeId()Id of the node that has changed.NodeIdCharacterDataModified. getNodeId()Id of the node that has changed.NodeIdChildNodeCountUpdated. getNodeId()Id of the node that has changed.NodeIdChildNodeRemoved. getNodeId()Id of the node that has been removed.NodeIdNode. getNodeId()Node identifier that is passed into the rest of the DOM messages as the `nodeId`.NodeIdPseudoElementAdded. getParentId()Pseudo element's parent element id.NodeIdPseudoElementRemoved. getParentId()Pseudo element's parent element id.NodeIdSetChildNodes. getParentId()Parent node id to populate with children.NodeIdChildNodeInserted. getParentNodeId()Id of the node that has changed.NodeIdChildNodeRemoved. getParentNodeId()Parent id.NodeIdChildNodeInserted. getPreviousNodeId()If of the previous siblint.NodeIdPseudoElementRemoved. getPseudoElementId()The removed pseudo element id.NodeIdShadowRootPopped. getRootId()Shadow root id.Methods in org.openqa.selenium.devtools.v104.dom.model that return types with arguments of type NodeId Modifier and Type Method Description java.util.Optional<NodeId>Node. getParentId()The id of the parent node if any.Constructors in org.openqa.selenium.devtools.v104.dom.model with parameters of type NodeId Constructor Description AttributeModified(NodeId nodeId, java.lang.String name, java.lang.String value)AttributeRemoved(NodeId nodeId, java.lang.String name)CharacterDataModified(NodeId nodeId, java.lang.String characterData)ChildNodeCountUpdated(NodeId nodeId, java.lang.Integer childNodeCount)ChildNodeInserted(NodeId parentNodeId, NodeId previousNodeId, Node node)ChildNodeRemoved(NodeId parentNodeId, NodeId nodeId)DistributedNodesUpdated(NodeId insertionPointId, java.util.List<BackendNode> distributedNodes)Node(NodeId nodeId, java.util.Optional<NodeId> parentId, BackendNodeId backendNodeId, java.lang.Integer nodeType, java.lang.String nodeName, java.lang.String localName, java.lang.String nodeValue, java.util.Optional<java.lang.Integer> childNodeCount, java.util.Optional<java.util.List<Node>> children, java.util.Optional<java.util.List<java.lang.String>> attributes, java.util.Optional<java.lang.String> documentURL, java.util.Optional<java.lang.String> baseURL, java.util.Optional<java.lang.String> publicId, java.util.Optional<java.lang.String> systemId, java.util.Optional<java.lang.String> internalSubset, java.util.Optional<java.lang.String> xmlVersion, java.util.Optional<java.lang.String> name, java.util.Optional<java.lang.String> value, java.util.Optional<PseudoType> pseudoType, java.util.Optional<java.lang.String> pseudoIdentifier, java.util.Optional<ShadowRootType> shadowRootType, java.util.Optional<FrameId> frameId, java.util.Optional<Node> contentDocument, java.util.Optional<java.util.List<Node>> shadowRoots, java.util.Optional<Node> templateContent, java.util.Optional<java.util.List<Node>> pseudoElements, java.util.Optional<Node> importedDocument, java.util.Optional<java.util.List<BackendNode>> distributedNodes, java.util.Optional<java.lang.Boolean> isSVG, java.util.Optional<CompatibilityMode> compatibilityMode, java.util.Optional<BackendNode> assignedSlot)PseudoElementAdded(NodeId parentId, Node pseudoElement)PseudoElementRemoved(NodeId parentId, NodeId pseudoElementId)SetChildNodes(NodeId parentId, java.util.List<Node> nodes)ShadowRootPopped(NodeId hostId, NodeId rootId)ShadowRootPushed(NodeId hostId, Node root)Constructor parameters in org.openqa.selenium.devtools.v104.dom.model with type arguments of type NodeId Constructor Description Node(NodeId nodeId, java.util.Optional<NodeId> parentId, BackendNodeId backendNodeId, java.lang.Integer nodeType, java.lang.String nodeName, java.lang.String localName, java.lang.String nodeValue, java.util.Optional<java.lang.Integer> childNodeCount, java.util.Optional<java.util.List<Node>> children, java.util.Optional<java.util.List<java.lang.String>> attributes, java.util.Optional<java.lang.String> documentURL, java.util.Optional<java.lang.String> baseURL, java.util.Optional<java.lang.String> publicId, java.util.Optional<java.lang.String> systemId, java.util.Optional<java.lang.String> internalSubset, java.util.Optional<java.lang.String> xmlVersion, java.util.Optional<java.lang.String> name, java.util.Optional<java.lang.String> value, java.util.Optional<PseudoType> pseudoType, java.util.Optional<java.lang.String> pseudoIdentifier, java.util.Optional<ShadowRootType> shadowRootType, java.util.Optional<FrameId> frameId, java.util.Optional<Node> contentDocument, java.util.Optional<java.util.List<Node>> shadowRoots, java.util.Optional<Node> templateContent, java.util.Optional<java.util.List<Node>> pseudoElements, java.util.Optional<Node> importedDocument, java.util.Optional<java.util.List<BackendNode>> distributedNodes, java.util.Optional<java.lang.Boolean> isSVG, java.util.Optional<CompatibilityMode> compatibilityMode, java.util.Optional<BackendNode> assignedSlot) -
Uses of NodeId in org.openqa.selenium.devtools.v104.domdebugger
Methods in org.openqa.selenium.devtools.v104.domdebugger with parameters of type NodeId Modifier and Type Method Description static org.openqa.selenium.devtools.Command<java.lang.Void>DOMDebugger. removeDOMBreakpoint(NodeId nodeId, DOMBreakpointType type)Removes DOM breakpoint that was set using `setDOMBreakpoint`.static org.openqa.selenium.devtools.Command<java.lang.Void>DOMDebugger. setDOMBreakpoint(NodeId nodeId, DOMBreakpointType type)Sets breakpoint on particular operation with DOM. -
Uses of NodeId in org.openqa.selenium.devtools.v104.overlay
Methods in org.openqa.selenium.devtools.v104.overlay that return types with arguments of type NodeId Modifier and Type Method Description static org.openqa.selenium.devtools.Event<NodeId>Overlay. nodeHighlightRequested()Methods in org.openqa.selenium.devtools.v104.overlay with parameters of type NodeId Modifier and Type Method Description static org.openqa.selenium.devtools.Command<java.util.Map<java.lang.String,java.lang.Object>>Overlay. getHighlightObjectForTest(NodeId nodeId, java.util.Optional<java.lang.Boolean> includeDistance, java.util.Optional<java.lang.Boolean> includeStyle, java.util.Optional<ColorFormat> colorFormat, java.util.Optional<java.lang.Boolean> showAccessibilityInfo)For testing.static org.openqa.selenium.devtools.Command<java.util.Map<java.lang.String,java.lang.Object>>Overlay. getSourceOrderHighlightObjectForTest(NodeId nodeId)For Source Order Viewer testing.Method parameters in org.openqa.selenium.devtools.v104.overlay with type arguments of type NodeId Modifier and Type Method Description static org.openqa.selenium.devtools.Command<java.util.Map<java.lang.String,java.lang.Object>>Overlay. getGridHighlightObjectsForTest(java.util.List<NodeId> nodeIds)For Persistent Grid testing.static org.openqa.selenium.devtools.Command<java.lang.Void>Overlay. highlightNode(HighlightConfig highlightConfig, java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId, java.util.Optional<java.lang.String> selector)Highlights DOM node with given id or with the given JavaScript object wrapper.static org.openqa.selenium.devtools.Command<java.lang.Void>Overlay. highlightSourceOrder(SourceOrderConfig sourceOrderConfig, java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId)Highlights the source order of the children of the DOM node with given id or with the given JavaScript object wrapper. -
Uses of NodeId in org.openqa.selenium.devtools.v104.overlay.model
Methods in org.openqa.selenium.devtools.v104.overlay.model that return NodeId Modifier and Type Method Description NodeIdContainerQueryHighlightConfig. getNodeId()Identifier of the container node to highlight.NodeIdFlexNodeHighlightConfig. getNodeId()Identifier of the node to highlight.NodeIdGridNodeHighlightConfig. getNodeId()Identifier of the node to highlight.NodeIdIsolatedElementHighlightConfig. getNodeId()Identifier of the isolated element to highlight.NodeIdScrollSnapHighlightConfig. getNodeId()Identifier of the node to highlight.Constructors in org.openqa.selenium.devtools.v104.overlay.model with parameters of type NodeId Constructor Description ContainerQueryHighlightConfig(ContainerQueryContainerHighlightConfig containerQueryContainerHighlightConfig, NodeId nodeId)FlexNodeHighlightConfig(FlexContainerHighlightConfig flexContainerHighlightConfig, NodeId nodeId)GridNodeHighlightConfig(GridHighlightConfig gridHighlightConfig, NodeId nodeId)IsolatedElementHighlightConfig(IsolationModeHighlightConfig isolationModeHighlightConfig, NodeId nodeId)ScrollSnapHighlightConfig(ScrollSnapContainerHighlightConfig scrollSnapContainerHighlightConfig, NodeId nodeId)
-