Path: blob/main/replay/shared/interfaces/IDomChangeEvent.ts
2645 views
export interface IDomChangeEvent {1nodeId: number;2tabId: number;3eventIndex: number;4action: DomActionType;5timestamp: number;6frameIdPath: string;7commandId: number;8nodeType?: number;9textContent?: string;10tagName?: string;11namespaceUri?: string;12previousSiblingId?: number;13parentNodeId?: number;14attributes?: { [key: string]: string };15attributeNamespaces?: { [key: string]: string };16properties?: { [key: string]: string | boolean | number | string[] };17}1819export type IFrontendDomChangeEvent = Omit<IDomChangeEvent, 'tabId' | 'commandId'>;2021// NOTE: copied from interfaces22export enum DomActionType {23newDocument = 0,24location = 1,25added = 2,26removed = 3,27text = 4,28attribute = 5,29property = 6,30}313233