/** * Mappings from protocol event and command names to the types required for them. */ declare namespace ProtocolIOS90Mapping { interface Events { 'ApplicationCache.applicationCacheStatusUpdated': [ProtocolIOS90.ApplicationCache.ApplicationCacheStatusUpdatedEvent]; 'ApplicationCache.networkStateUpdated': [ProtocolIOS90.ApplicationCache.NetworkStateUpdatedEvent]; /** * Fires whenever a MediaQuery result changes (for example, after a browser window has been resized.) The current implementation considers only viewport-dependent media features. */ 'CSS.mediaQueryResultChanged': []; /** * Fired whenever a stylesheet is changed as a result of the client operation. */ 'CSS.styleSheetChanged': [ProtocolIOS90.CSS.StyleSheetChangedEvent]; /** * Fires when a Named Flow is created. */ 'CSS.namedFlowCreated': [ProtocolIOS90.CSS.NamedFlowCreatedEvent]; /** * Fires when a Named Flow is removed: has no associated content nodes and regions. */ 'CSS.namedFlowRemoved': [ProtocolIOS90.CSS.NamedFlowRemovedEvent]; /** * Fires if any of the regionOverset values changed in a Named Flow's region chain. */ 'CSS.regionOversetChanged': [ProtocolIOS90.CSS.RegionOversetChangedEvent]; /** * Fires when a Named Flow's has been registered with a new content node. */ 'CSS.registeredNamedFlowContentElement': [ProtocolIOS90.CSS.RegisteredNamedFlowContentElementEvent]; /** * Fires when a Named Flow's has been registered with a new content node. */ 'CSS.unregisteredNamedFlowContentElement': [ProtocolIOS90.CSS.UnregisteredNamedFlowContentElementEvent]; /** * Issued when new console message is added. */ 'Console.messageAdded': [ProtocolIOS90.Console.MessageAddedEvent]; /** * Issued when subsequent message(s) are equal to the previous one(s). */ 'Console.messageRepeatCountUpdated': [ProtocolIOS90.Console.MessageRepeatCountUpdatedEvent]; /** * Issued when console is cleared. This happens either upon clearMessages command or after page navigation. */ 'Console.messagesCleared': []; /** * Fired when Document has been totally updated. Node ids are no longer valid. */ 'DOM.documentUpdated': []; /** * Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node ids. */ 'DOM.setChildNodes': [ProtocolIOS90.DOM.SetChildNodesEvent]; /** * Fired when Element's attribute is modified. */ 'DOM.attributeModified': [ProtocolIOS90.DOM.AttributeModifiedEvent]; /** * Fired when Element's attribute is removed. */ 'DOM.attributeRemoved': [ProtocolIOS90.DOM.AttributeRemovedEvent]; /** * Fired when Element's inline style is modified via a CSS property modification. */ 'DOM.inlineStyleInvalidated': [ProtocolIOS90.DOM.InlineStyleInvalidatedEvent]; /** * Mirrors DOMCharacterDataModified event. */ 'DOM.characterDataModified': [ProtocolIOS90.DOM.CharacterDataModifiedEvent]; /** * Fired when Container's child node count has changed. */ 'DOM.childNodeCountUpdated': [ProtocolIOS90.DOM.ChildNodeCountUpdatedEvent]; /** * Mirrors DOMNodeInserted event. */ 'DOM.childNodeInserted': [ProtocolIOS90.DOM.ChildNodeInsertedEvent]; /** * Mirrors DOMNodeRemoved event. */ 'DOM.childNodeRemoved': [ProtocolIOS90.DOM.ChildNodeRemovedEvent]; /** * Called when shadow root is pushed into the element. */ 'DOM.shadowRootPushed': [ProtocolIOS90.DOM.ShadowRootPushedEvent]; /** * Called when shadow root is popped from the element. */ 'DOM.shadowRootPopped': [ProtocolIOS90.DOM.ShadowRootPoppedEvent]; 'DOMStorage.domStorageItemsCleared': [ProtocolIOS90.DOMStorage.DomStorageItemsClearedEvent]; 'DOMStorage.domStorageItemRemoved': [ProtocolIOS90.DOMStorage.DomStorageItemRemovedEvent]; 'DOMStorage.domStorageItemAdded': [ProtocolIOS90.DOMStorage.DomStorageItemAddedEvent]; 'DOMStorage.domStorageItemUpdated': [ProtocolIOS90.DOMStorage.DomStorageItemUpdatedEvent]; 'Database.addDatabase': [ProtocolIOS90.Database.AddDatabaseEvent]; /** * Called when global has been cleared and debugger client should reset its state. Happens upon navigation or reload. */ 'Debugger.globalObjectCleared': []; /** * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. */ 'Debugger.scriptParsed': [ProtocolIOS90.Debugger.ScriptParsedEvent]; /** * Fired when virtual machine fails to parse the script. */ 'Debugger.scriptFailedToParse': [ProtocolIOS90.Debugger.ScriptFailedToParseEvent]; /** * Fired when breakpoint is resolved to an actual script and location. */ 'Debugger.breakpointResolved': [ProtocolIOS90.Debugger.BreakpointResolvedEvent]; /** * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. */ 'Debugger.paused': [ProtocolIOS90.Debugger.PausedEvent]; /** * Fired when the virtual machine resumed execution. */ 'Debugger.resumed': []; /** * Fires when a new probe sample is collected. */ 'Debugger.didSampleProbe': [ProtocolIOS90.Debugger.DidSampleProbeEvent]; /** * Fired when a "sound" breakpoint action is triggered on a breakpoint. */ 'Debugger.playBreakpointActionSound': [ProtocolIOS90.Debugger.PlayBreakpointActionSoundEvent]; 'Inspector.evaluateForTestInFrontend': [ProtocolIOS90.Inspector.EvaluateForTestInFrontendEvent]; 'Inspector.inspect': [ProtocolIOS90.Inspector.InspectEvent]; /** * Fired when remote debugging connection is about to be terminated. Contains detach reason. */ 'Inspector.detached': [ProtocolIOS90.Inspector.DetachedEvent]; /** * Fired when the backend has alternate domains that need to be activated. */ 'Inspector.activateExtraDomains': [ProtocolIOS90.Inspector.ActivateExtraDomainsEvent]; 'LayerTree.layerTreeDidChange': []; /** * Fired when page is about to send HTTP request. */ 'Network.requestWillBeSent': [ProtocolIOS90.Network.RequestWillBeSentEvent]; /** * Fired if request ended up loading from cache. */ 'Network.requestServedFromCache': [ProtocolIOS90.Network.RequestServedFromCacheEvent]; /** * Fired when HTTP response is available. */ 'Network.responseReceived': [ProtocolIOS90.Network.ResponseReceivedEvent]; /** * Fired when data chunk was received over the network. */ 'Network.dataReceived': [ProtocolIOS90.Network.DataReceivedEvent]; /** * Fired when HTTP request has finished loading. */ 'Network.loadingFinished': [ProtocolIOS90.Network.LoadingFinishedEvent]; /** * Fired when HTTP request has failed to load. */ 'Network.loadingFailed': [ProtocolIOS90.Network.LoadingFailedEvent]; /** * Fired when HTTP request has been served from memory cache. */ 'Network.requestServedFromMemoryCache': [ProtocolIOS90.Network.RequestServedFromMemoryCacheEvent]; /** * Fired when WebSocket is about to initiate handshake. */ 'Network.webSocketWillSendHandshakeRequest': [ProtocolIOS90.Network.WebSocketWillSendHandshakeRequestEvent]; /** * Fired when WebSocket handshake response becomes available. */ 'Network.webSocketHandshakeResponseReceived': [ProtocolIOS90.Network.WebSocketHandshakeResponseReceivedEvent]; /** * Fired upon WebSocket creation. */ 'Network.webSocketCreated': [ProtocolIOS90.Network.WebSocketCreatedEvent]; /** * Fired when WebSocket is closed. */ 'Network.webSocketClosed': [ProtocolIOS90.Network.WebSocketClosedEvent]; /** * Fired when WebSocket frame is received. */ 'Network.webSocketFrameReceived': [ProtocolIOS90.Network.WebSocketFrameReceivedEvent]; /** * Fired when WebSocket frame error occurs. */ 'Network.webSocketFrameError': [ProtocolIOS90.Network.WebSocketFrameErrorEvent]; /** * Fired when WebSocket frame is sent. */ 'Network.webSocketFrameSent': [ProtocolIOS90.Network.WebSocketFrameSentEvent]; 'Page.domContentEventFired': [ProtocolIOS90.Page.DomContentEventFiredEvent]; 'Page.loadEventFired': [ProtocolIOS90.Page.LoadEventFiredEvent]; /** * Fired once navigation of the frame has completed. Frame is now associated with the new loader. */ 'Page.frameNavigated': [ProtocolIOS90.Page.FrameNavigatedEvent]; /** * Fired when frame has been detached from its parent. */ 'Page.frameDetached': [ProtocolIOS90.Page.FrameDetachedEvent]; /** * Fired when frame has started loading. */ 'Page.frameStartedLoading': [ProtocolIOS90.Page.FrameStartedLoadingEvent]; /** * Fired when frame has stopped loading. */ 'Page.frameStoppedLoading': [ProtocolIOS90.Page.FrameStoppedLoadingEvent]; /** * Fired when frame schedules a potential navigation. */ 'Page.frameScheduledNavigation': [ProtocolIOS90.Page.FrameScheduledNavigationEvent]; /** * Fired when frame no longer has a scheduled navigation. */ 'Page.frameClearedScheduledNavigation': [ProtocolIOS90.Page.FrameClearedScheduledNavigationEvent]; /** * Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to open. */ 'Page.javascriptDialogOpening': [ProtocolIOS90.Page.JavascriptDialogOpeningEvent]; /** * Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been closed. */ 'Page.javascriptDialogClosed': []; /** * Fired when the JavaScript is enabled/disabled on the page */ 'Page.scriptsEnabled': [ProtocolIOS90.Page.ScriptsEnabledEvent]; /** * Issued when new execution context is created. */ 'Runtime.executionContextCreated': [ProtocolIOS90.Runtime.ExecutionContextCreatedEvent]; /** * Fired for every instrumentation event while timeline is started. */ 'Timeline.eventRecorded': [ProtocolIOS90.Timeline.EventRecordedEvent]; /** * Fired when recording has started. */ 'Timeline.recordingStarted': []; /** * Fired when recording has stopped. */ 'Timeline.recordingStopped': []; } interface Commands { /** * Returns array of frame identifiers with manifest urls for each frame containing a document associated with some application cache. */ 'ApplicationCache.getFramesWithManifests': { paramsType: []; returnType: ProtocolIOS90.ApplicationCache.GetFramesWithManifestsResponse; }; /** * Enables application cache domain notifications. */ 'ApplicationCache.enable': { paramsType: []; returnType: void; }; /** * Returns manifest URL for document in the given frame. */ 'ApplicationCache.getManifestForFrame': { paramsType: [ProtocolIOS90.ApplicationCache.GetManifestForFrameRequest]; returnType: ProtocolIOS90.ApplicationCache.GetManifestForFrameResponse; }; /** * Returns relevant application cache data for the document in given frame. */ 'ApplicationCache.getApplicationCacheForFrame': { paramsType: [ProtocolIOS90.ApplicationCache.GetApplicationCacheForFrameRequest]; returnType: ProtocolIOS90.ApplicationCache.GetApplicationCacheForFrameResponse; }; /** * Enables the CSS agent for the given page. Clients should not assume that the CSS agent has been enabled until the result of this command is received. */ 'CSS.enable': { paramsType: []; returnType: void; }; /** * Disables the CSS agent for the given page. */ 'CSS.disable': { paramsType: []; returnType: void; }; /** * Returns requested styles for a DOM node identified by nodeId. */ 'CSS.getMatchedStylesForNode': { paramsType: [ProtocolIOS90.CSS.GetMatchedStylesForNodeRequest]; returnType: ProtocolIOS90.CSS.GetMatchedStylesForNodeResponse; }; /** * Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM attributes) for a DOM node identified by nodeId. */ 'CSS.getInlineStylesForNode': { paramsType: [ProtocolIOS90.CSS.GetInlineStylesForNodeRequest]; returnType: ProtocolIOS90.CSS.GetInlineStylesForNodeResponse; }; /** * Returns the computed style for a DOM node identified by nodeId. */ 'CSS.getComputedStyleForNode': { paramsType: [ProtocolIOS90.CSS.GetComputedStyleForNodeRequest]; returnType: ProtocolIOS90.CSS.GetComputedStyleForNodeResponse; }; /** * Returns metainfo entries for all known stylesheets. */ 'CSS.getAllStyleSheets': { paramsType: []; returnType: ProtocolIOS90.CSS.GetAllStyleSheetsResponse; }; /** * Returns stylesheet data for the specified styleSheetId. */ 'CSS.getStyleSheet': { paramsType: [ProtocolIOS90.CSS.GetStyleSheetRequest]; returnType: ProtocolIOS90.CSS.GetStyleSheetResponse; }; /** * Returns the current textual content and the URL for a stylesheet. */ 'CSS.getStyleSheetText': { paramsType: [ProtocolIOS90.CSS.GetStyleSheetTextRequest]; returnType: ProtocolIOS90.CSS.GetStyleSheetTextResponse; }; /** * Sets the new stylesheet text, thereby invalidating all existing CSSStyleId's and CSSRuleId's contained by this stylesheet. */ 'CSS.setStyleSheetText': { paramsType: [ProtocolIOS90.CSS.SetStyleSheetTextRequest]; returnType: void; }; /** * Sets the new text for the respective style. */ 'CSS.setStyleText': { paramsType: [ProtocolIOS90.CSS.SetStyleTextRequest]; returnType: ProtocolIOS90.CSS.SetStyleTextResponse; }; /** * Modifies the rule selector. */ 'CSS.setRuleSelector': { paramsType: [ProtocolIOS90.CSS.SetRuleSelectorRequest]; returnType: ProtocolIOS90.CSS.SetRuleSelectorResponse; }; /** * Creates a new empty rule with the given selector in a special "inspector" stylesheet in the owner document of the context node. */ 'CSS.addRule': { paramsType: [ProtocolIOS90.CSS.AddRuleRequest]; returnType: ProtocolIOS90.CSS.AddRuleResponse; }; /** * Returns all supported CSS property names. */ 'CSS.getSupportedCSSProperties': { paramsType: []; returnType: ProtocolIOS90.CSS.GetSupportedCSSPropertiesResponse; }; /** * Ensures that the given node will have specified pseudo-classes whenever its style is computed by the browser. */ 'CSS.forcePseudoState': { paramsType: [ProtocolIOS90.CSS.ForcePseudoStateRequest]; returnType: void; }; /** * Returns the Named Flows from the document. */ 'CSS.getNamedFlowCollection': { paramsType: [ProtocolIOS90.CSS.GetNamedFlowCollectionRequest]; returnType: ProtocolIOS90.CSS.GetNamedFlowCollectionResponse; }; /** * Enables console domain, sends the messages collected so far to the client by means of the messageAdded notification. */ 'Console.enable': { paramsType: []; returnType: void; }; /** * Disables console domain, prevents further console messages from being reported to the client. */ 'Console.disable': { paramsType: []; returnType: void; }; /** * Clears console messages collected in the browser. */ 'Console.clearMessages': { paramsType: []; returnType: void; }; /** * Toggles monitoring of XMLHttpRequest. If true, console will receive messages upon each XHR issued. */ 'Console.setMonitoringXHREnabled': { paramsType: [ProtocolIOS90.Console.SetMonitoringXHREnabledRequest]; returnType: void; }; /** * Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions). */ 'Console.addInspectedNode': { paramsType: [ProtocolIOS90.Console.AddInspectedNodeRequest]; returnType: void; }; /** * Returns the root DOM node to the caller. */ 'DOM.getDocument': { paramsType: []; returnType: ProtocolIOS90.DOM.GetDocumentResponse; }; /** * Requests that children of the node with given id are returned to the caller in form of setChildNodes events where not only immediate children are retrieved, but all children down to the specified depth. */ 'DOM.requestChildNodes': { paramsType: [ProtocolIOS90.DOM.RequestChildNodesRequest]; returnType: void; }; /** * Executes querySelector on a given node. */ 'DOM.querySelector': { paramsType: [ProtocolIOS90.DOM.QuerySelectorRequest]; returnType: ProtocolIOS90.DOM.QuerySelectorResponse; }; /** * Executes querySelectorAll on a given node. */ 'DOM.querySelectorAll': { paramsType: [ProtocolIOS90.DOM.QuerySelectorAllRequest]; returnType: ProtocolIOS90.DOM.QuerySelectorAllResponse; }; /** * Sets node name for a node with given id. */ 'DOM.setNodeName': { paramsType: [ProtocolIOS90.DOM.SetNodeNameRequest]; returnType: ProtocolIOS90.DOM.SetNodeNameResponse; }; /** * Sets node value for a node with given id. */ 'DOM.setNodeValue': { paramsType: [ProtocolIOS90.DOM.SetNodeValueRequest]; returnType: void; }; /** * Removes node with given id. */ 'DOM.removeNode': { paramsType: [ProtocolIOS90.DOM.RemoveNodeRequest]; returnType: void; }; /** * Sets attribute for an element with given id. */ 'DOM.setAttributeValue': { paramsType: [ProtocolIOS90.DOM.SetAttributeValueRequest]; returnType: void; }; /** * Sets attributes on element with given id. This method is useful when user edits some existing attribute value and types in several attribute name/value pairs. */ 'DOM.setAttributesAsText': { paramsType: [ProtocolIOS90.DOM.SetAttributesAsTextRequest]; returnType: void; }; /** * Removes attribute with given name from an element with given id. */ 'DOM.removeAttribute': { paramsType: [ProtocolIOS90.DOM.RemoveAttributeRequest]; returnType: void; }; /** * Returns event listeners relevant to the node. */ 'DOM.getEventListenersForNode': { paramsType: [ProtocolIOS90.DOM.GetEventListenersForNodeRequest]; returnType: ProtocolIOS90.DOM.GetEventListenersForNodeResponse; }; /** * Returns a dictionary of accessibility properties for the node. */ 'DOM.getAccessibilityPropertiesForNode': { paramsType: [ProtocolIOS90.DOM.GetAccessibilityPropertiesForNodeRequest]; returnType: ProtocolIOS90.DOM.GetAccessibilityPropertiesForNodeResponse; }; /** * Returns node's HTML markup. */ 'DOM.getOuterHTML': { paramsType: [ProtocolIOS90.DOM.GetOuterHTMLRequest]; returnType: ProtocolIOS90.DOM.GetOuterHTMLResponse; }; /** * Sets node HTML markup, returns new node id. */ 'DOM.setOuterHTML': { paramsType: [ProtocolIOS90.DOM.SetOuterHTMLRequest]; returnType: void; }; /** * Searches for a given string in the DOM tree. Use getSearchResults to access search results or cancelSearch to end this search session. */ 'DOM.performSearch': { paramsType: [ProtocolIOS90.DOM.PerformSearchRequest]; returnType: ProtocolIOS90.DOM.PerformSearchResponse; }; /** * Returns search results from given fromIndex to given toIndex from the sarch with the given identifier. */ 'DOM.getSearchResults': { paramsType: [ProtocolIOS90.DOM.GetSearchResultsRequest]; returnType: ProtocolIOS90.DOM.GetSearchResultsResponse; }; /** * Discards search results from the session with the given id. getSearchResults should no longer be called for that search. */ 'DOM.discardSearchResults': { paramsType: [ProtocolIOS90.DOM.DiscardSearchResultsRequest]; returnType: void; }; /** * 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 setChildNodes notifications. */ 'DOM.requestNode': { paramsType: [ProtocolIOS90.DOM.RequestNodeRequest]; returnType: ProtocolIOS90.DOM.RequestNodeResponse; }; /** * Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspect' command upon element selection. */ 'DOM.setInspectModeEnabled': { paramsType: [ProtocolIOS90.DOM.SetInspectModeEnabledRequest]; returnType: void; }; /** * Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport. */ 'DOM.highlightRect': { paramsType: [ProtocolIOS90.DOM.HighlightRectRequest]; returnType: void; }; /** * Highlights given quad. Coordinates are absolute with respect to the main frame viewport. */ 'DOM.highlightQuad': { paramsType: [ProtocolIOS90.DOM.HighlightQuadRequest]; returnType: void; }; /** * Highlights all DOM nodes that match a given selector. A string containing a CSS selector must be specified. */ 'DOM.highlightSelector': { paramsType: [ProtocolIOS90.DOM.HighlightSelectorRequest]; returnType: void; }; /** * Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified. */ 'DOM.highlightNode': { paramsType: [ProtocolIOS90.DOM.HighlightNodeRequest]; returnType: void; }; /** * Hides DOM node highlight. */ 'DOM.hideHighlight': { paramsType: []; returnType: void; }; /** * Highlights owner element of the frame with given id. */ 'DOM.highlightFrame': { paramsType: [ProtocolIOS90.DOM.HighlightFrameRequest]; returnType: void; }; /** * Requests that the node is sent to the caller given its path. // FIXME, use XPath */ 'DOM.pushNodeByPathToFrontend': { paramsType: [ProtocolIOS90.DOM.PushNodeByPathToFrontendRequest]; returnType: ProtocolIOS90.DOM.PushNodeByPathToFrontendResponse; }; /** * Requests that the node is sent to the caller given its backend node id. */ 'DOM.pushNodeByBackendIdToFrontend': { paramsType: [ProtocolIOS90.DOM.PushNodeByBackendIdToFrontendRequest]; returnType: ProtocolIOS90.DOM.PushNodeByBackendIdToFrontendResponse; }; /** * Requests that group of BackendNodeIds is released. */ 'DOM.releaseBackendNodeIds': { paramsType: [ProtocolIOS90.DOM.ReleaseBackendNodeIdsRequest]; returnType: void; }; /** * Resolves JavaScript node object for given node id. */ 'DOM.resolveNode': { paramsType: [ProtocolIOS90.DOM.ResolveNodeRequest]; returnType: ProtocolIOS90.DOM.ResolveNodeResponse; }; /** * Returns attributes for the specified node. */ 'DOM.getAttributes': { paramsType: [ProtocolIOS90.DOM.GetAttributesRequest]; returnType: ProtocolIOS90.DOM.GetAttributesResponse; }; /** * Moves node into the new container, places it before the given anchor. */ 'DOM.moveTo': { paramsType: [ProtocolIOS90.DOM.MoveToRequest]; returnType: ProtocolIOS90.DOM.MoveToResponse; }; /** * Undoes the last performed action. */ 'DOM.undo': { paramsType: []; returnType: void; }; /** * Re-does the last undone action. */ 'DOM.redo': { paramsType: []; returnType: void; }; /** * Marks last undoable state. */ 'DOM.markUndoableState': { paramsType: []; returnType: void; }; /** * Focuses the given element. */ 'DOM.focus': { paramsType: [ProtocolIOS90.DOM.FocusRequest]; returnType: void; }; /** * Enables storage tracking, storage events will now be delivered to the client. */ 'DOMStorage.enable': { paramsType: []; returnType: void; }; /** * Disables storage tracking, prevents storage events from being sent to the client. */ 'DOMStorage.disable': { paramsType: []; returnType: void; }; 'DOMStorage.getDOMStorageItems': { paramsType: [ProtocolIOS90.DOMStorage.GetDOMStorageItemsRequest]; returnType: ProtocolIOS90.DOMStorage.GetDOMStorageItemsResponse; }; 'DOMStorage.setDOMStorageItem': { paramsType: [ProtocolIOS90.DOMStorage.SetDOMStorageItemRequest]; returnType: void; }; 'DOMStorage.removeDOMStorageItem': { paramsType: [ProtocolIOS90.DOMStorage.RemoveDOMStorageItemRequest]; returnType: void; }; /** * Enables database tracking, database events will now be delivered to the client. */ 'Database.enable': { paramsType: []; returnType: void; }; /** * Disables database tracking, prevents database events from being sent to the client. */ 'Database.disable': { paramsType: []; returnType: void; }; 'Database.getDatabaseTableNames': { paramsType: [ProtocolIOS90.Database.GetDatabaseTableNamesRequest]; returnType: ProtocolIOS90.Database.GetDatabaseTableNamesResponse; }; 'Database.executeSQL': { paramsType: [ProtocolIOS90.Database.ExecuteSQLRequest]; returnType: ProtocolIOS90.Database.ExecuteSQLResponse; }; /** * Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received. */ 'Debugger.enable': { paramsType: []; returnType: void; }; /** * Disables debugger for given page. */ 'Debugger.disable': { paramsType: []; returnType: void; }; /** * Activates / deactivates all breakpoints on the page. */ 'Debugger.setBreakpointsActive': { paramsType: [ProtocolIOS90.Debugger.SetBreakpointsActiveRequest]; returnType: void; }; /** * Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in locations property. Further matching script parsing will result in subsequent breakpointResolved events issued. This logical breakpoint will survive page reloads. */ 'Debugger.setBreakpointByUrl': { paramsType: [ProtocolIOS90.Debugger.SetBreakpointByUrlRequest]; returnType: ProtocolIOS90.Debugger.SetBreakpointByUrlResponse; }; /** * Sets JavaScript breakpoint at a given location. */ 'Debugger.setBreakpoint': { paramsType: [ProtocolIOS90.Debugger.SetBreakpointRequest]; returnType: ProtocolIOS90.Debugger.SetBreakpointResponse; }; /** * Removes JavaScript breakpoint. */ 'Debugger.removeBreakpoint': { paramsType: [ProtocolIOS90.Debugger.RemoveBreakpointRequest]; returnType: void; }; /** * Continues execution until specific location is reached. */ 'Debugger.continueToLocation': { paramsType: [ProtocolIOS90.Debugger.ContinueToLocationRequest]; returnType: void; }; /** * Steps over the statement. */ 'Debugger.stepOver': { paramsType: []; returnType: void; }; /** * Steps into the function call. */ 'Debugger.stepInto': { paramsType: []; returnType: void; }; /** * Steps out of the function call. */ 'Debugger.stepOut': { paramsType: []; returnType: void; }; /** * Stops on the next JavaScript statement. */ 'Debugger.pause': { paramsType: []; returnType: void; }; /** * Resumes JavaScript execution. */ 'Debugger.resume': { paramsType: []; returnType: void; }; /** * Searches for given string in script content. */ 'Debugger.searchInContent': { paramsType: [ProtocolIOS90.Debugger.SearchInContentRequest]; returnType: ProtocolIOS90.Debugger.SearchInContentResponse; }; /** * Returns source for the script with given id. */ 'Debugger.getScriptSource': { paramsType: [ProtocolIOS90.Debugger.GetScriptSourceRequest]; returnType: ProtocolIOS90.Debugger.GetScriptSourceResponse; }; /** * Returns detailed information on given function. */ 'Debugger.getFunctionDetails': { paramsType: [ProtocolIOS90.Debugger.GetFunctionDetailsRequest]; returnType: ProtocolIOS90.Debugger.GetFunctionDetailsResponse; }; /** * Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on exceptions state is none. */ 'Debugger.setPauseOnExceptions': { paramsType: [ProtocolIOS90.Debugger.SetPauseOnExceptionsRequest]; returnType: void; }; /** * Evaluates expression on a given call frame. */ 'Debugger.evaluateOnCallFrame': { paramsType: [ProtocolIOS90.Debugger.EvaluateOnCallFrameRequest]; returnType: ProtocolIOS90.Debugger.EvaluateOnCallFrameResponse; }; /** * Sets overlay message. */ 'Debugger.setOverlayMessage': { paramsType: [ProtocolIOS90.Debugger.SetOverlayMessageRequest?]; returnType: void; }; /** * Enables events from backend. */ 'IndexedDB.enable': { paramsType: []; returnType: void; }; /** * Disables events from backend. */ 'IndexedDB.disable': { paramsType: []; returnType: void; }; /** * Requests database names for given security origin. */ 'IndexedDB.requestDatabaseNames': { paramsType: [ProtocolIOS90.IndexedDB.RequestDatabaseNamesRequest]; returnType: ProtocolIOS90.IndexedDB.RequestDatabaseNamesResponse; }; /** * Requests database with given name in given frame. */ 'IndexedDB.requestDatabase': { paramsType: [ProtocolIOS90.IndexedDB.RequestDatabaseRequest]; returnType: ProtocolIOS90.IndexedDB.RequestDatabaseResponse; }; /** * Requests data from object store or index. */ 'IndexedDB.requestData': { paramsType: [ProtocolIOS90.IndexedDB.RequestDataRequest]; returnType: ProtocolIOS90.IndexedDB.RequestDataResponse; }; /** * Clears all entries from an object store. */ 'IndexedDB.clearObjectStore': { paramsType: [ProtocolIOS90.IndexedDB.ClearObjectStoreRequest]; returnType: ProtocolIOS90.IndexedDB.ClearObjectStoreResponse; }; /** * Enables inspector domain notifications. */ 'Inspector.enable': { paramsType: []; returnType: void; }; /** * Disables inspector domain notifications. */ 'Inspector.disable': { paramsType: []; returnType: void; }; /** * Sent by the frontend after all initialization messages have been sent. */ 'Inspector.initialized': { paramsType: []; returnType: void; }; /** * Enables compositing tree inspection. */ 'LayerTree.enable': { paramsType: []; returnType: void; }; /** * Disables compositing tree inspection. */ 'LayerTree.disable': { paramsType: []; returnType: void; }; /** * Returns the layer tree structure of the current page. */ 'LayerTree.layersForNode': { paramsType: [ProtocolIOS90.LayerTree.LayersForNodeRequest]; returnType: ProtocolIOS90.LayerTree.LayersForNodeResponse; }; /** * Provides the reasons why the given layer was composited. */ 'LayerTree.reasonsForCompositingLayer': { paramsType: [ProtocolIOS90.LayerTree.ReasonsForCompositingLayerRequest]; returnType: ProtocolIOS90.LayerTree.ReasonsForCompositingLayerResponse; }; /** * Enables network tracking, network events will now be delivered to the client. */ 'Network.enable': { paramsType: []; returnType: void; }; /** * Disables network tracking, prevents network events from being sent to the client. */ 'Network.disable': { paramsType: []; returnType: void; }; /** * Specifies whether to always send extra HTTP headers with the requests from this page. */ 'Network.setExtraHTTPHeaders': { paramsType: [ProtocolIOS90.Network.SetExtraHTTPHeadersRequest]; returnType: void; }; /** * Returns content served for the given request. */ 'Network.getResponseBody': { paramsType: [ProtocolIOS90.Network.GetResponseBodyRequest]; returnType: ProtocolIOS90.Network.GetResponseBodyResponse; }; /** * Loads a resource in the context of a frame on the inspected page without cross origin checks. */ 'Network.loadResource': { paramsType: [ProtocolIOS90.Network.LoadResourceRequest]; returnType: ProtocolIOS90.Network.LoadResourceResponse; }; /** * Enables page domain notifications. */ 'Page.enable': { paramsType: []; returnType: void; }; /** * Disables page domain notifications. */ 'Page.disable': { paramsType: []; returnType: void; }; /** * Reloads given page optionally ignoring the cache. */ 'Page.reload': { paramsType: [ProtocolIOS90.Page.ReloadRequest?]; returnType: void; }; /** * Navigates current page to the given URL. */ 'Page.navigate': { paramsType: [ProtocolIOS90.Page.NavigateRequest]; returnType: void; }; /** * Returns all browser cookies. Depending on the backend support, will return detailed cookie information in the cookies field. */ 'Page.getCookies': { paramsType: []; returnType: ProtocolIOS90.Page.GetCookiesResponse; }; /** * Deletes browser cookie with given name, domain and path. */ 'Page.deleteCookie': { paramsType: [ProtocolIOS90.Page.DeleteCookieRequest]; returnType: void; }; /** * Returns present frame / resource tree structure. */ 'Page.getResourceTree': { paramsType: []; returnType: ProtocolIOS90.Page.GetResourceTreeResponse; }; /** * Returns content of the given resource. */ 'Page.getResourceContent': { paramsType: [ProtocolIOS90.Page.GetResourceContentRequest]; returnType: ProtocolIOS90.Page.GetResourceContentResponse; }; /** * Searches for given string in resource content. */ 'Page.searchInResource': { paramsType: [ProtocolIOS90.Page.SearchInResourceRequest]; returnType: ProtocolIOS90.Page.SearchInResourceResponse; }; /** * Searches for given string in frame / resource tree structure. */ 'Page.searchInResources': { paramsType: [ProtocolIOS90.Page.SearchInResourcesRequest]; returnType: ProtocolIOS90.Page.SearchInResourcesResponse; }; /** * Sets given markup as the document's HTML. */ 'Page.setDocumentContent': { paramsType: [ProtocolIOS90.Page.SetDocumentContentRequest]; returnType: void; }; /** * Requests that backend shows paint rectangles */ 'Page.setShowPaintRects': { paramsType: [ProtocolIOS90.Page.SetShowPaintRectsRequest]; returnType: void; }; /** * Determines if scripts can be executed in the page. */ 'Page.getScriptExecutionStatus': { paramsType: []; returnType: ProtocolIOS90.Page.GetScriptExecutionStatusResponse; }; /** * Switches script execution in the page. */ 'Page.setScriptExecutionDisabled': { paramsType: [ProtocolIOS90.Page.SetScriptExecutionDisabledRequest]; returnType: void; }; /** * Emulates the given media for CSS media queries. */ 'Page.setEmulatedMedia': { paramsType: [ProtocolIOS90.Page.SetEmulatedMediaRequest]; returnType: void; }; /** * Indicates the visibility of compositing borders. */ 'Page.getCompositingBordersVisible': { paramsType: []; returnType: ProtocolIOS90.Page.GetCompositingBordersVisibleResponse; }; /** * Controls the visibility of compositing borders. */ 'Page.setCompositingBordersVisible': { paramsType: [ProtocolIOS90.Page.SetCompositingBordersVisibleRequest]; returnType: void; }; /** * Capture a snapshot of the specified node that does not include unrelated layers. */ 'Page.snapshotNode': { paramsType: [ProtocolIOS90.Page.SnapshotNodeRequest]; returnType: ProtocolIOS90.Page.SnapshotNodeResponse; }; /** * Capture a snapshot of the page within the specified rectangle and coordinate system. */ 'Page.snapshotRect': { paramsType: [ProtocolIOS90.Page.SnapshotRectRequest]; returnType: ProtocolIOS90.Page.SnapshotRectResponse; }; /** * Grab an archive of the page. */ 'Page.archive': { paramsType: []; returnType: ProtocolIOS90.Page.ArchiveResponse; }; /** * Parses JavaScript source code for errors. */ 'Runtime.parse': { paramsType: [ProtocolIOS90.Runtime.ParseRequest]; returnType: ProtocolIOS90.Runtime.ParseResponse; }; /** * Evaluates expression on global object. */ 'Runtime.evaluate': { paramsType: [ProtocolIOS90.Runtime.EvaluateRequest]; returnType: ProtocolIOS90.Runtime.EvaluateResponse; }; /** * Calls function with given declaration on the given object. Object group of the result is inherited from the target object. */ 'Runtime.callFunctionOn': { paramsType: [ProtocolIOS90.Runtime.CallFunctionOnRequest]; returnType: ProtocolIOS90.Runtime.CallFunctionOnResponse; }; /** * Returns properties of a given object. Object group of the result is inherited from the target object. */ 'Runtime.getProperties': { paramsType: [ProtocolIOS90.Runtime.GetPropertiesRequest]; returnType: ProtocolIOS90.Runtime.GetPropertiesResponse; }; /** * Returns displayable properties of a given object. Object group of the result is inherited from the target object. Displayable properties are own properties, internal properties, and native getters in the prototype chain (assumed to be bindings and treated like own properties for the frontend). */ 'Runtime.getDisplayableProperties': { paramsType: [ProtocolIOS90.Runtime.GetDisplayablePropertiesRequest]; returnType: ProtocolIOS90.Runtime.GetDisplayablePropertiesResponse; }; /** * Returns entries of given Map / Set collection. */ 'Runtime.getCollectionEntries': { paramsType: [ProtocolIOS90.Runtime.GetCollectionEntriesRequest]; returnType: ProtocolIOS90.Runtime.GetCollectionEntriesResponse; }; /** * Assign a saved result index to this value. */ 'Runtime.saveResult': { paramsType: [ProtocolIOS90.Runtime.SaveResultRequest]; returnType: ProtocolIOS90.Runtime.SaveResultResponse; }; /** * Releases remote object with given id. */ 'Runtime.releaseObject': { paramsType: [ProtocolIOS90.Runtime.ReleaseObjectRequest]; returnType: void; }; /** * Releases all remote objects that belong to a given group. */ 'Runtime.releaseObjectGroup': { paramsType: [ProtocolIOS90.Runtime.ReleaseObjectGroupRequest]; returnType: void; }; /** * Enables reporting of execution contexts creation by means of executionContextCreated event. When the reporting gets enabled the event will be sent immediately for each existing execution context. */ 'Runtime.enable': { paramsType: []; returnType: void; }; /** * Disables reporting of execution contexts creation. */ 'Runtime.disable': { paramsType: []; returnType: void; }; /** * Returns detailed informtation on given function. */ 'Runtime.getRuntimeTypesForVariablesAtOffsets': { paramsType: [ProtocolIOS90.Runtime.GetRuntimeTypesForVariablesAtOffsetsRequest]; returnType: ProtocolIOS90.Runtime.GetRuntimeTypesForVariablesAtOffsetsResponse; }; /** * Enables type profiling on the VM. */ 'Runtime.enableTypeProfiler': { paramsType: []; returnType: void; }; /** * Disables type profiling on the VM. */ 'Runtime.disableTypeProfiler': { paramsType: []; returnType: void; }; /** * Returns a list of basic blocks for the given sourceID with information about their text ranges and whether or not they have executed. */ 'Runtime.getBasicBlocks': { paramsType: [ProtocolIOS90.Runtime.GetBasicBlocksRequest]; returnType: ProtocolIOS90.Runtime.GetBasicBlocksResponse; }; /** * Starts capturing instrumentation events. */ 'Timeline.start': { paramsType: [ProtocolIOS90.Timeline.StartRequest?]; returnType: void; }; /** * Stops capturing instrumentation events. */ 'Timeline.stop': { paramsType: []; returnType: void; }; } }