Contains DevTools Protocol DOM domain implementation accessible via DOMOperations class.
data class AttributeModifiedEvent : Event
Fired when |
|
data class AttributeRemovedEvent : Event
Fired when |
|
data class BackendNode
Backend node with a friendly name. |
|
data class BoxModel
Box model. |
|
data class CharacterDataModifiedEvent : Event
Mirrors |
|
data class ChildNodeCountUpdatedEvent : Event
Fired when |
|
data class ChildNodeInsertedEvent : Event
Mirrors |
|
data class ChildNodeRemovedEvent : Event
Mirrors |
|
data class CollectClassNamesFromSubtreeRequest
Represents request frame that can be used with DOM#collectClassNamesFromSubtree operation call. |
|
data class CollectClassNamesFromSubtreeResponse
Represents response frame that is returned from DOM#collectClassNamesFromSubtree operation call. Collects class names for the node with given id and all of it's child nodes. |
|
data class CopyToRequest
Represents request frame that can be used with DOM#copyTo operation call. |
|
data class CopyToResponse
Represents response frame that is returned from DOM#copyTo operation call. Creates a deep copy of the specified node and places it into the target container before the given anchor. |
|
data class DescribeNodeRequest
Represents request frame that can be used with DOM#describeNode operation call. |
|
data class DescribeNodeResponse
Represents response frame that is returned from DOM#describeNode operation call. Describes node given its id, does not require domain to be enabled. Does not start tracking any objects, can be used for automation. |
|
data class DiscardSearchResultsRequest
Represents request frame that can be used with DOM#discardSearchResults operation call. |
|
data class DistributedNodesUpdatedEvent : Event
Called when distrubution is changed. |
|
class DOMOperations
This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object
that has an |
|
data class FocusRequest
Represents request frame that can be used with DOM#focus operation call. |
|
data class GetAttributesRequest
Represents request frame that can be used with DOM#getAttributes operation call. |
|
data class GetAttributesResponse
Represents response frame that is returned from DOM#getAttributes operation call. Returns attributes for the specified node. |
|
data class GetBoxModelRequest
Represents request frame that can be used with DOM#getBoxModel operation call. |
|
data class GetBoxModelResponse
Represents response frame that is returned from DOM#getBoxModel operation call. Returns boxes for the given node. |
|
data class GetContentQuadsRequest
Represents request frame that can be used with DOM#getContentQuads operation call. |
|
data class GetContentQuadsResponse
Represents response frame that is returned from DOM#getContentQuads operation call. Returns quads that describe node position on the page. This method might return multiple quads for inline nodes. |
|
data class GetDocumentRequest
Represents request frame that can be used with DOM#getDocument operation call. |
|
data class GetDocumentResponse
Represents response frame that is returned from DOM#getDocument operation call. Returns the root DOM node (and optionally the subtree) to the caller. |
|
data class GetFileInfoRequest
Represents request frame that can be used with DOM#getFileInfo operation call. |
|
data class GetFileInfoResponse
Represents response frame that is returned from DOM#getFileInfo operation call. Returns file information for the given File wrapper. |
|
data class GetFlattenedDocumentRequest
Represents request frame that can be used with DOM#getFlattenedDocument operation call. |
|
data class GetFlattenedDocumentResponse
Represents response frame that is returned from DOM#getFlattenedDocument operation call. Returns the root DOM node (and optionally the subtree) to the caller. |
|
data class GetFrameOwnerRequest
Represents request frame that can be used with DOM#getFrameOwner operation call. |
|
data class GetFrameOwnerResponse
Represents response frame that is returned from DOM#getFrameOwner operation call. Returns iframe node that owns iframe with the given domain. |
|
data class GetNodeForLocationRequest
Represents request frame that can be used with DOM#getNodeForLocation operation call. |
|
data class GetNodeForLocationResponse
Represents response frame that is returned from DOM#getNodeForLocation operation call. Returns node id at given location. Depending on whether DOM domain is enabled, nodeId is either returned or not. |
|
data class GetNodeStackTracesRequest
Represents request frame that can be used with DOM#getNodeStackTraces operation call. |
|
data class GetNodeStackTracesResponse
Represents response frame that is returned from DOM#getNodeStackTraces operation call. Gets stack traces associated with a Node. As of now, only provides stack trace for Node creation. |
|
data class GetOuterHTMLRequest
Represents request frame that can be used with DOM#getOuterHTML operation call. |
|
data class GetOuterHTMLResponse
Represents response frame that is returned from DOM#getOuterHTML operation call. Returns node's HTML markup. |
|
data class GetRelayoutBoundaryRequest
Represents request frame that can be used with DOM#getRelayoutBoundary operation call. |
|
data class GetRelayoutBoundaryResponse
Represents response frame that is returned from DOM#getRelayoutBoundary operation call. Returns the id of the nearest ancestor that is a relayout boundary. |
|
data class GetSearchResultsRequest
Represents request frame that can be used with DOM#getSearchResults operation call. |
|
data class GetSearchResultsResponse
Represents response frame that is returned from DOM#getSearchResults operation call.
Returns search results from given |
|
data class InlineStyleInvalidatedEvent : Event
Fired when |
|
data class MoveToRequest
Represents request frame that can be used with DOM#moveTo operation call. |
|
data class MoveToResponse
Represents response frame that is returned from DOM#moveTo operation call. Moves node into the new container, places it before the given anchor. |
|
data class Node
DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes. DOMNode is a base node mirror type. |
|
data class PerformSearchRequest
Represents request frame that can be used with DOM#performSearch operation call. |
|
data class PerformSearchResponse
Represents response frame that is returned from DOM#performSearch operation call.
Searches for a given string in the DOM tree. Use |
|
data class PseudoElementAddedEvent : Event
Called when a pseudo element is added to an element. |
|
data class PseudoElementRemovedEvent : Event
Called when a pseudo element is removed from an element. |
|
enum class PseudoType
Pseudo element type. |
|
data class PushNodeByPathToFrontendRequest
Represents request frame that can be used with DOM#pushNodeByPathToFrontend operation call. |
|
data class PushNodeByPathToFrontendResponse
Represents response frame that is returned from DOM#pushNodeByPathToFrontend operation call. Requests that the node is sent to the caller given its path. // FIXME, use XPath |
|
data class PushNodesByBackendIdsToFrontendRequest
Represents request frame that can be used with DOM#pushNodesByBackendIdsToFrontend operation call. |
|
data class PushNodesByBackendIdsToFrontendResponse
Represents response frame that is returned from DOM#pushNodesByBackendIdsToFrontend operation call. Requests that a batch of nodes is sent to the caller given their backend node ids. |
|
data class QuerySelectorAllRequest
Represents request frame that can be used with DOM#querySelectorAll operation call. |
|
data class QuerySelectorAllResponse
Represents response frame that is returned from DOM#querySelectorAll operation call.
Executes |
|
data class QuerySelectorRequest
Represents request frame that can be used with DOM#querySelector operation call. |
|
data class QuerySelectorResponse
Represents response frame that is returned from DOM#querySelector operation call.
Executes |
|
data class Rect
Rectangle. |
|
data class RemoveAttributeRequest
Represents request frame that can be used with DOM#removeAttribute operation call. |
|
data class RemoveNodeRequest
Represents request frame that can be used with DOM#removeNode operation call. |
|
data class RequestChildNodesRequest
Represents request frame that can be used with DOM#requestChildNodes operation call. |
|
data class RequestNodeRequest
Represents request frame that can be used with DOM#requestNode operation call. |
|
data class RequestNodeResponse
Represents response frame that is returned from DOM#requestNode operation call.
Requests that the node is sent to the caller given the JavaScript node object reference. All
nodes that form the path from the node to the root are also sent to the client as a series of
|
|
data class ResolveNodeRequest
Represents request frame that can be used with DOM#resolveNode operation call. |
|
data class ResolveNodeResponse
Represents response frame that is returned from DOM#resolveNode operation call. Resolves the JavaScript node object for a given NodeId or BackendNodeId. |
|
data class RGBA
A structure holding an RGBA color. |
|
data class SetAttributesAsTextRequest
Represents request frame that can be used with DOM#setAttributesAsText operation call. |
|
data class SetAttributeValueRequest
Represents request frame that can be used with DOM#setAttributeValue operation call. |
|
data class SetChildNodesEvent : Event
Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node ids. |
|
data class SetFileInputFilesRequest
Represents request frame that can be used with DOM#setFileInputFiles operation call. |
|
data class SetInspectedNodeRequest
Represents request frame that can be used with DOM#setInspectedNode operation call. |
|
data class SetNodeNameRequest
Represents request frame that can be used with DOM#setNodeName operation call. |
|
data class SetNodeNameResponse
Represents response frame that is returned from DOM#setNodeName operation call. Sets node name for a node with given id. |
|
data class SetNodeStackTracesEnabledRequest
Represents request frame that can be used with DOM#setNodeStackTracesEnabled operation call. |
|
data class SetNodeValueRequest
Represents request frame that can be used with DOM#setNodeValue operation call. |
|
data class SetOuterHTMLRequest
Represents request frame that can be used with DOM#setOuterHTML operation call. |
|
data class ShadowRootPoppedEvent : Event
Called when shadow root is popped from the element. |
|
data class ShadowRootPushedEvent : Event
Called when shadow root is pushed into the element. |
|
enum class ShadowRootType
Shadow root type. |
|
data class ShapeOutsideInfo
CSS Shape Outside details. |
typealias BackendNodeId = Int
Unique DOM node identifier used to reference a node that may not have been pushed to the front-end. |
|
typealias NodeId = Int
Unique DOM node identifier. |
|
typealias Quad = List<Double>
An array of quad vertices, x immediately followed by y for each point, points clock-wise. |