UNPKG

1.65 kBTypeScriptView Raw
1import * as inspectorCommandTypes from './InspectorBackendCommands';
2export declare class DOMDomainDebugger implements inspectorCommandTypes.DOMDomain.DOMDomainDispatcher {
3 private _enabled;
4 events: inspectorCommandTypes.DOMDomain.DOMFrontend;
5 commands: any;
6 constructor();
7 get enabled(): boolean;
8 enable(): void;
9 /**
10 * Disables network tracking, prevents network events from being sent to the client.
11 */
12 disable(): void;
13 getDocument(): {
14 root: inspectorCommandTypes.DOMDomain.Node;
15 };
16 removeNode(params: inspectorCommandTypes.DOMDomain.RemoveNodeMethodArguments): void;
17 setAttributeValue(params: inspectorCommandTypes.DOMDomain.SetAttributeValueMethodArguments): void;
18 setAttributesAsText(params: inspectorCommandTypes.DOMDomain.SetAttributesAsTextMethodArguments): void;
19 removeAttribute(params: inspectorCommandTypes.DOMDomain.RemoveAttributeMethodArguments): void;
20 performSearch(params: inspectorCommandTypes.DOMDomain.PerformSearchMethodArguments): {
21 searchId: string;
22 resultCount: number;
23 };
24 getSearchResults(params: inspectorCommandTypes.DOMDomain.GetSearchResultsMethodArguments): {
25 nodeIds: inspectorCommandTypes.DOMDomain.NodeId[];
26 };
27 discardSearchResults(params: inspectorCommandTypes.DOMDomain.DiscardSearchResultsMethodArguments): void;
28 highlightNode(params: inspectorCommandTypes.DOMDomain.HighlightNodeMethodArguments): void;
29 hideHighlight(): void;
30 resolveNode(params: inspectorCommandTypes.DOMDomain.ResolveNodeMethodArguments): {
31 object: inspectorCommandTypes.RuntimeDomain.RemoteObject;
32 };
33}