pl.wendigo.chrome.domain.dom

Package pl.wendigo.chrome.domain.dom

Types

AttributeModifiedEvent

data class AttributeModifiedEvent : ProtocolEvent

Represents event frames for DOM.attributeModified

AttributeRemovedEvent

data class AttributeRemovedEvent : ProtocolEvent

Represents event frames for DOM.attributeRemoved

BackendNode

data class BackendNode

Backend node with a friendly name.

BoxModel

data class BoxModel

Box model.

CharacterDataModifiedEvent

data class CharacterDataModifiedEvent : ProtocolEvent

Represents event frames for DOM.characterDataModified

ChildNodeCountUpdatedEvent

data class ChildNodeCountUpdatedEvent : ProtocolEvent

Represents event frames for DOM.childNodeCountUpdated

ChildNodeInsertedEvent

data class ChildNodeInsertedEvent : ProtocolEvent

Represents event frames for DOM.childNodeInserted

ChildNodeRemovedEvent

data class ChildNodeRemovedEvent : ProtocolEvent

Represents event frames for DOM.childNodeRemoved

CollectClassNamesFromSubtreeRequest

data class CollectClassNamesFromSubtreeRequest

Represents request frame that can be used with DOM.collectClassNamesFromSubtree method call.

CollectClassNamesFromSubtreeResponse

data class CollectClassNamesFromSubtreeResponse

Represents response frame for DOM.collectClassNamesFromSubtree method call.

CopyToRequest

data class CopyToRequest

Represents request frame that can be used with DOM.copyTo method call.

CopyToResponse

data class CopyToResponse

Represents response frame for DOM.copyTo method call.

DescribeNodeRequest

data class DescribeNodeRequest

Represents request frame that can be used with DOM.describeNode method call.

DescribeNodeResponse

data class DescribeNodeResponse

Represents response frame for DOM.describeNode method call.

DiscardSearchResultsRequest

data class DiscardSearchResultsRequest

Represents request frame that can be used with DOM.discardSearchResults method call.

DistributedNodesUpdatedEvent

data class DistributedNodesUpdatedEvent : ProtocolEvent

Represents event frames for DOM.distributedNodesUpdated

DOMDomain

class DOMDomain

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.

FocusRequest

data class FocusRequest

Represents request frame that can be used with DOM.focus method call.

GetAttributesRequest

data class GetAttributesRequest

Represents request frame that can be used with DOM.getAttributes method call.

GetAttributesResponse

data class GetAttributesResponse

Represents response frame for DOM.getAttributes method call.

GetBoxModelRequest

data class GetBoxModelRequest

Represents request frame that can be used with DOM.getBoxModel method call.

GetBoxModelResponse

data class GetBoxModelResponse

Represents response frame for DOM.getBoxModel method call.

GetContentQuadsRequest

data class GetContentQuadsRequest

Represents request frame that can be used with DOM.getContentQuads method call.

GetContentQuadsResponse

data class GetContentQuadsResponse

Represents response frame for DOM.getContentQuads method call.

GetDocumentRequest

data class GetDocumentRequest

Represents request frame that can be used with DOM.getDocument method call.

GetDocumentResponse

data class GetDocumentResponse

Represents response frame for DOM.getDocument method call.

GetFileInfoRequest

data class GetFileInfoRequest

Represents request frame that can be used with DOM.getFileInfo method call.

GetFileInfoResponse

data class GetFileInfoResponse

Represents response frame for DOM.getFileInfo method call.

GetFlattenedDocumentRequest

data class GetFlattenedDocumentRequest

Represents request frame that can be used with DOM.getFlattenedDocument method call.

GetFlattenedDocumentResponse

data class GetFlattenedDocumentResponse

Represents response frame for DOM.getFlattenedDocument method call.

GetFrameOwnerRequest

data class GetFrameOwnerRequest

Represents request frame that can be used with DOM.getFrameOwner method call.

GetFrameOwnerResponse

data class GetFrameOwnerResponse

Represents response frame for DOM.getFrameOwner method call.

GetNodeForLocationRequest

data class GetNodeForLocationRequest

Represents request frame that can be used with DOM.getNodeForLocation method call.

GetNodeForLocationResponse

data class GetNodeForLocationResponse

Represents response frame for DOM.getNodeForLocation method call.

GetNodeStackTracesRequest

data class GetNodeStackTracesRequest

Represents request frame that can be used with DOM.getNodeStackTraces method call.

GetNodeStackTracesResponse

data class GetNodeStackTracesResponse

Represents response frame for DOM.getNodeStackTraces method call.

GetOuterHTMLRequest

data class GetOuterHTMLRequest

Represents request frame that can be used with DOM.getOuterHTML method call.

GetOuterHTMLResponse

data class GetOuterHTMLResponse

Represents response frame for DOM.getOuterHTML method call.

GetRelayoutBoundaryRequest

data class GetRelayoutBoundaryRequest

Represents request frame that can be used with DOM.getRelayoutBoundary method call.

GetRelayoutBoundaryResponse

data class GetRelayoutBoundaryResponse

Represents response frame for DOM.getRelayoutBoundary method call.

GetSearchResultsRequest

data class GetSearchResultsRequest

Represents request frame that can be used with DOM.getSearchResults method call.

GetSearchResultsResponse

data class GetSearchResultsResponse

Represents response frame for DOM.getSearchResults method call.

InlineStyleInvalidatedEvent

data class InlineStyleInvalidatedEvent : ProtocolEvent

Represents event frames for DOM.inlineStyleInvalidated

MoveToRequest

data class MoveToRequest

Represents request frame that can be used with DOM.moveTo method call.

MoveToResponse

data class MoveToResponse

Represents response frame for DOM.moveTo method call.

Node

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.

PerformSearchRequest

data class PerformSearchRequest

Represents request frame that can be used with DOM.performSearch method call.

PerformSearchResponse

data class PerformSearchResponse

Represents response frame for DOM.performSearch method call.

PseudoElementAddedEvent

data class PseudoElementAddedEvent : ProtocolEvent

Represents event frames for DOM.pseudoElementAdded

PseudoElementRemovedEvent

data class PseudoElementRemovedEvent : ProtocolEvent

Represents event frames for DOM.pseudoElementRemoved

PseudoType

enum class PseudoType

Pseudo element type.

PushNodeByPathToFrontendRequest

data class PushNodeByPathToFrontendRequest

Represents request frame that can be used with DOM.pushNodeByPathToFrontend method call.

PushNodeByPathToFrontendResponse

data class PushNodeByPathToFrontendResponse

Represents response frame for DOM.pushNodeByPathToFrontend method call.

PushNodesByBackendIdsToFrontendRequest

data class PushNodesByBackendIdsToFrontendRequest

Represents request frame that can be used with DOM.pushNodesByBackendIdsToFrontend method call.

PushNodesByBackendIdsToFrontendResponse

data class PushNodesByBackendIdsToFrontendResponse

Represents response frame for DOM.pushNodesByBackendIdsToFrontend method call.

QuerySelectorAllRequest

data class QuerySelectorAllRequest

Represents request frame that can be used with DOM.querySelectorAll method call.

QuerySelectorAllResponse

data class QuerySelectorAllResponse

Represents response frame for DOM.querySelectorAll method call.

QuerySelectorRequest

data class QuerySelectorRequest

Represents request frame that can be used with DOM.querySelector method call.

QuerySelectorResponse

data class QuerySelectorResponse

Represents response frame for DOM.querySelector method call.

Rect

data class Rect

Rectangle.

RemoveAttributeRequest

data class RemoveAttributeRequest

Represents request frame that can be used with DOM.removeAttribute method call.

RemoveNodeRequest

data class RemoveNodeRequest

Represents request frame that can be used with DOM.removeNode method call.

RequestChildNodesRequest

data class RequestChildNodesRequest

Represents request frame that can be used with DOM.requestChildNodes method call.

RequestNodeRequest

data class RequestNodeRequest

Represents request frame that can be used with DOM.requestNode method call.

RequestNodeResponse

data class RequestNodeResponse

Represents response frame for DOM.requestNode method call.

ResolveNodeRequest

data class ResolveNodeRequest

Represents request frame that can be used with DOM.resolveNode method call.

ResolveNodeResponse

data class ResolveNodeResponse

Represents response frame for DOM.resolveNode method call.

RGBA

data class RGBA

A structure holding an RGBA color.

SetAttributesAsTextRequest

data class SetAttributesAsTextRequest

Represents request frame that can be used with DOM.setAttributesAsText method call.

SetAttributeValueRequest

data class SetAttributeValueRequest

Represents request frame that can be used with DOM.setAttributeValue method call.

SetChildNodesEvent

data class SetChildNodesEvent : ProtocolEvent

Represents event frames for DOM.setChildNodes

SetFileInputFilesRequest

data class SetFileInputFilesRequest

Represents request frame that can be used with DOM.setFileInputFiles method call.

SetInspectedNodeRequest

data class SetInspectedNodeRequest

Represents request frame that can be used with DOM.setInspectedNode method call.

SetNodeNameRequest

data class SetNodeNameRequest

Represents request frame that can be used with DOM.setNodeName method call.

SetNodeNameResponse

data class SetNodeNameResponse

Represents response frame for DOM.setNodeName method call.

SetNodeStackTracesEnabledRequest

data class SetNodeStackTracesEnabledRequest

Represents request frame that can be used with DOM.setNodeStackTracesEnabled method call.

SetNodeValueRequest

data class SetNodeValueRequest

Represents request frame that can be used with DOM.setNodeValue method call.

SetOuterHTMLRequest

data class SetOuterHTMLRequest

Represents request frame that can be used with DOM.setOuterHTML method call.

ShadowRootPoppedEvent

data class ShadowRootPoppedEvent : ProtocolEvent

Represents event frames for DOM.shadowRootPopped

ShadowRootPushedEvent

data class ShadowRootPushedEvent : ProtocolEvent

Represents event frames for DOM.shadowRootPushed

ShadowRootType

enum class ShadowRootType

Shadow root type.

ShapeOutsideInfo

data class ShapeOutsideInfo

CSS Shape Outside details.

Type Aliases

BackendNodeId

typealias BackendNodeId = Int

Unique DOM node identifier used to reference a node that may not have been pushed to the front-end.

NodeId

typealias NodeId = Int

Unique DOM node identifier.

Quad

typealias Quad = List<Double>

An array of quad vertices, x immediately followed by y for each point, points clock-wise.