InspectDOMModule class
Methods
-
invoke(int? id, String method, Map<String, dynamic>? params)
→ void
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onContextChanged()
→ void
-
Called when the debugging context changes (e.g., when switching controllers)
Subclasses can override this to reinitialize their state
inherited
-
onDescribeNode(int? id, Map<String, dynamic> params)
→ void
-
-
onDisabled()
→ void
-
inherited
-
onEnabled()
→ void
-
inherited
-
onGetBoxModel(int? id, Map<String, dynamic> params)
→ void
-
-
onGetDocument(int? id, String method, Map<String, dynamic>? params)
→ void
-
https://chromedevtools.github.io/devtools-protocol/tot/DOM/#method-getDocument
-
onGetNodeForLocation(int? id, Map<String, dynamic> params)
→ void
-
-
onGetOuterHTML(int? id, Map<String, dynamic> params)
→ void
-
-
onMoveTo(int? id, Map<String, dynamic> params)
→ void
-
https://chromedevtools.github.io/devtools-protocol/tot/DOM/#method-moveTo
Moves the node identified by nodeId into the new container (targetNodeId),
optionally before insertBeforeNodeId when provided. Returns the nodeId.
-
onPushNodesByBackendIdsToFrontend(int? id, Map<String, dynamic> params)
→ void
-
-
onQuerySelector(int? id, Map<String, dynamic> params)
→ void
-
https://chromedevtools.github.io/devtools-protocol/tot/DOM/#method-querySelector
Returns the nodeId of the first element that matches the selector under the given node.
-
onQuerySelectorAll(int? id, Map<String, dynamic> params)
→ void
-
https://chromedevtools.github.io/devtools-protocol/tot/DOM/#method-querySelectorAll
Returns the nodeIds of all elements that match the selector under the given node.
-
onRemoveAttribute(int? id, Map<String, dynamic> params)
→ void
-
-
onRemoveNode(int? id, Map<String, dynamic> params)
→ void
-
-
onRequestChildNodes(int? id, Map<String, dynamic> params)
→ void
-
-
onRequestNode(int? id, Map<String, dynamic> params)
→ void
-
https://chromedevtools.github.io/devtools-protocol/tot/DOM/#method-requestNode
Returns nodeId for a given objectId (from Runtime.evaluate/resolveNode).
-
onResolveNode(int? id, Map<String, dynamic> params)
→ void
-
-
onSetAttributesAsText(int? id, Map<String, dynamic> params)
→ void
-
-
onSetAttributeValue(int? id, Map<String, dynamic> params)
→ void
-
-
onSetInspectedNode(int? id, Map<String, dynamic> params)
→ void
-
-
onSetNodeName(int? id, Map<String, dynamic> params)
→ void
-
https://chromedevtools.github.io/devtools-protocol/tot/DOM/#method-setNodeName
Renames a node (typically an element) to the provided tag name, returning the new nodeId.
-
onSetNodeValue(int? id, Map<String, dynamic> params)
→ void
-
-
onSetOuterHTML(int? id, Map<String, dynamic> params)
→ void
-
https://chromedevtools.github.io/devtools-protocol/tot/DOM/#method-setOuterHTML
Sets outer HTML for an element. Simplified parser that supports tag, attributes,
and plain text content. Nested markup in content will be treated as text.
-
receiveFromFrontend(int? id, String method, Map<String, dynamic>? params)
→ void
-
-
sendEventToFrontend(InspectorEvent event)
→ void
-
inherited
-
sendToFrontend(int? id, JSONEncodable? result)
→ void
-
inherited
-
setEnabled(bool enabled)
→ void
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited