Uses of Class
org.openqa.selenium.devtools.dom.model.NodeId
-
-
Uses of NodeId in org.openqa.selenium.devtools.accessibility
Method parameters in org.openqa.selenium.devtools.accessibility with type arguments of type NodeId Modifier and Type Method Description static 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. -
Uses of NodeId in org.openqa.selenium.devtools.css
Methods in org.openqa.selenium.devtools.css with parameters of type NodeId Modifier and Type Method Description static 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 Command<CSS.GetBackgroundColorsResponse>
CSS. getBackgroundColors(NodeId nodeId)
static Command<java.util.List<CSSComputedStyleProperty>>
CSS. getComputedStyleForNode(NodeId nodeId)
Returns the computed style for a DOM node identified by `nodeId`.static 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 Command<CSS.GetMatchedStylesForNodeResponse>
CSS. getMatchedStylesForNode(NodeId nodeId)
Returns requested styles for a DOM node identified by `nodeId`.static 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 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.dom
Methods in org.openqa.selenium.devtools.dom that return NodeId Modifier and Type Method Description NodeId
DOM.GetFrameOwnerResponse. getNodeId()
Id of the node at given coordinates, only when enabled and requested document.NodeId
DOM.GetNodeForLocationResponse. getNodeId()
Id of the node at given coordinates, only when enabled and requested document.Methods in org.openqa.selenium.devtools.dom that return types with arguments of type NodeId Modifier and Type Method Description static 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 Command<NodeId>
DOM. getRelayoutBoundary(NodeId nodeId)
Returns the id of the nearest ancestor that is a relayout boundary.static 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 Event<java.util.List<NodeId>>
DOM. inlineStyleInvalidated()
static 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 Command<NodeId>
DOM. pushNodeByPathToFrontend(java.lang.String path)
Requests that the node is sent to the caller given its path.static 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 Command<NodeId>
DOM. querySelector(NodeId nodeId, java.lang.String selector)
Executes `querySelector` on a given node.static Command<java.util.List<NodeId>>
DOM. querySelectorAll(NodeId nodeId, java.lang.String selector)
Executes `querySelectorAll` on a given node.static Command<NodeId>
DOM. requestNode(RemoteObjectId objectId)
Requests that the node is sent to the caller given the JavaScript node object reference.static 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.dom with parameters of type NodeId Modifier and Type Method Description static 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 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 Command<java.util.List<java.lang.String>>
DOM. getAttributes(NodeId nodeId)
Returns attributes for the specified node.static Command<StackTrace>
DOM. getNodeStackTraces(NodeId nodeId)
Gets stack traces associated with a Node.static Command<NodeId>
DOM. getRelayoutBoundary(NodeId nodeId)
Returns the id of the nearest ancestor that is a relayout boundary.static 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 Command<NodeId>
DOM. querySelector(NodeId nodeId, java.lang.String selector)
Executes `querySelector` on a given node.static Command<java.util.List<NodeId>>
DOM. querySelectorAll(NodeId nodeId, java.lang.String selector)
Executes `querySelectorAll` on a given node.static Command<java.lang.Void>
DOM. removeAttribute(NodeId nodeId, java.lang.String name)
Removes attribute with given name from an element with given id.static Command<java.lang.Void>
DOM. removeNode(NodeId nodeId)
Removes node with given id.static 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 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 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 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 Command<NodeId>
DOM. setNodeName(NodeId nodeId, java.lang.String name)
Sets node name for a node with given id.static Command<java.lang.Void>
DOM. setNodeValue(NodeId nodeId, java.lang.String value)
Sets node value for a node with given id.static 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.dom with type arguments of type NodeId Modifier and Type Method Description static 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 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 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 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 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 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 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 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 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.Constructors in org.openqa.selenium.devtools.dom with parameters of type NodeId Constructor Description GetFrameOwnerResponse(BackendNodeId backendNodeId, NodeId nodeId)
GetNodeForLocationResponse(BackendNodeId backendNodeId, NodeId nodeId)
-
Uses of NodeId in org.openqa.selenium.devtools.dom.model
Methods in org.openqa.selenium.devtools.dom.model that return NodeId Modifier and Type Method Description NodeId
ShadowRootPopped. getHostId()
Host element id.NodeId
ShadowRootPushed. getHostId()
Host element id.NodeId
DistributedNodesUpdated. getInsertionPointId()
Insertion point where distrubuted nodes were updated.NodeId
AttributeModified. getNodeId()
Id of the node that has changed.NodeId
AttributeRemoved. getNodeId()
Id of the node that has changed.NodeId
CharacterDataModified. getNodeId()
Id of the node that has changed.NodeId
ChildNodeCountUpdated. getNodeId()
Id of the node that has changed.NodeId
ChildNodeRemoved. getNodeId()
Id of the node that has been removed.NodeId
Node. getNodeId()
Node identifier that is passed into the rest of the DOM messages as the `nodeId`.NodeId
Node. getParentId()
The id of the parent node if any.NodeId
PseudoElementAdded. getParentId()
Pseudo element's parent element id.NodeId
PseudoElementRemoved. getParentId()
Pseudo element's parent element id.NodeId
SetChildNodes. getParentId()
Parent node id to populate with children.NodeId
ChildNodeInserted. getParentNodeId()
Id of the node that has changed.NodeId
ChildNodeRemoved. getParentNodeId()
Parent id.NodeId
ChildNodeInserted. getPreviousNodeId()
If of the previous siblint.NodeId
PseudoElementRemoved. getPseudoElementId()
The removed pseudo element id.NodeId
ShadowRootPopped. getRootId()
Shadow root id.Constructors in org.openqa.selenium.devtools.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, NodeId parentId, BackendNodeId backendNodeId, java.lang.Integer nodeType, java.lang.String nodeName, java.lang.String localName, java.lang.String nodeValue, java.lang.Integer childNodeCount, java.util.List<Node> children, java.util.List<java.lang.String> attributes, java.lang.String documentURL, java.lang.String baseURL, java.lang.String publicId, java.lang.String systemId, java.lang.String internalSubset, java.lang.String xmlVersion, java.lang.String name, java.lang.String value, PseudoType pseudoType, ShadowRootType shadowRootType, FrameId frameId, Node contentDocument, java.util.List<Node> shadowRoots, Node templateContent, java.util.List<Node> pseudoElements, Node importedDocument, java.util.List<BackendNode> distributedNodes, java.lang.Boolean isSVG)
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)
-
Uses of NodeId in org.openqa.selenium.devtools.domdebugger
Methods in org.openqa.selenium.devtools.domdebugger with parameters of type NodeId Modifier and Type Method Description static Command<java.lang.Void>
DOMDebugger. removeDOMBreakpoint(NodeId nodeId, DOMBreakpointType type)
Removes DOM breakpoint that was set using `setDOMBreakpoint`.static 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.overlay
Methods in org.openqa.selenium.devtools.overlay that return types with arguments of type NodeId Modifier and Type Method Description static Event<NodeId>
Overlay. nodeHighlightRequested()
Methods in org.openqa.selenium.devtools.overlay with parameters of type NodeId Modifier and Type Method Description static 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)
For testing.Method parameters in org.openqa.selenium.devtools.overlay with type arguments of type NodeId Modifier and Type Method Description static 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.
-