INSTRUCTION
stringlengths
1
8.43k
RESPONSE
stringlengths
75
104k
Function path: Emulation. setDefaultBackgroundColorOverride Domain: Emulation Method name: setDefaultBackgroundColorOverride WARNING: This function is marked Experimental ! Parameters: Optional arguments: color ( type: DOM. RGBA ) - > RGBA of the default background color. If not specified any existing override will be ...
def Emulation_setDefaultBackgroundColorOverride(self, **kwargs): """ Function path: Emulation.setDefaultBackgroundColorOverride Domain: Emulation Method name: setDefaultBackgroundColorOverride WARNING: This function is marked 'Experimental'! Parameters: Optional arguments: 'color' (type: ...
Function path: Security. handleCertificateError Domain: Security Method name: handleCertificateError Parameters: Required arguments: eventId ( type: integer ) - > The ID of the event. action ( type: CertificateErrorAction ) - > The action to take on the certificate error. No return value. Description: Handles a certifi...
def Security_handleCertificateError(self, eventId, action): """ Function path: Security.handleCertificateError Domain: Security Method name: handleCertificateError Parameters: Required arguments: 'eventId' (type: integer) -> The ID of the event. 'action' (type: CertificateErrorAction) -> T...
Function path: Security. setOverrideCertificateErrors Domain: Security Method name: setOverrideCertificateErrors Parameters: Required arguments: override ( type: boolean ) - > If true certificate errors will be overridden. No return value. Description: Enable/ disable overriding certificate errors. If enabled all certi...
def Security_setOverrideCertificateErrors(self, override): """ Function path: Security.setOverrideCertificateErrors Domain: Security Method name: setOverrideCertificateErrors Parameters: Required arguments: 'override' (type: boolean) -> If true, certificate errors will be overridden. No retu...
Function path: Audits. getEncodedResponse Domain: Audits Method name: getEncodedResponse Parameters: Required arguments: requestId ( type: Network. RequestId ) - > Identifier of the network request to get content for. encoding ( type: string ) - > The encoding to use. Optional arguments: quality ( type: number ) - > Th...
def Audits_getEncodedResponse(self, requestId, encoding, **kwargs): """ Function path: Audits.getEncodedResponse Domain: Audits Method name: getEncodedResponse Parameters: Required arguments: 'requestId' (type: Network.RequestId) -> Identifier of the network request to get content for. 'en...
Function path: Network. setUserAgentOverride Domain: Network Method name: setUserAgentOverride Parameters: Required arguments: userAgent ( type: string ) - > User agent to use. No return value. Description: Allows overriding user agent with the given string.
def Network_setUserAgentOverride(self, userAgent): """ Function path: Network.setUserAgentOverride Domain: Network Method name: setUserAgentOverride Parameters: Required arguments: 'userAgent' (type: string) -> User agent to use. No return value. Description: Allows overriding user age...
Function path: Network. setBlockedURLs Domain: Network Method name: setBlockedURLs WARNING: This function is marked Experimental ! Parameters: Required arguments: urls ( type: array ) - > URL patterns to block. Wildcards ( * ) are allowed. No return value. Description: Blocks URLs from loading.
def Network_setBlockedURLs(self, urls): """ Function path: Network.setBlockedURLs Domain: Network Method name: setBlockedURLs WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'urls' (type: array) -> URL patterns to block. Wildcards ('*') are allowed. No ...
Function path: Network. getCookies Domain: Network Method name: getCookies WARNING: This function is marked Experimental ! Parameters: Optional arguments: urls ( type: array ) - > The list of URLs for which applicable cookies will be fetched Returns: cookies ( type: array ) - > Array of cookie objects. Description: Ret...
def Network_getCookies(self, **kwargs): """ Function path: Network.getCookies Domain: Network Method name: getCookies WARNING: This function is marked 'Experimental'! Parameters: Optional arguments: 'urls' (type: array) -> The list of URLs for which applicable cookies will be fetched R...
Function path: Network. deleteCookies Domain: Network Method name: deleteCookies WARNING: This function is marked Experimental ! Parameters: Required arguments: name ( type: string ) - > Name of the cookies to remove. Optional arguments: url ( type: string ) - > If specified deletes all the cookies with the given name ...
def Network_deleteCookies(self, name, **kwargs): """ Function path: Network.deleteCookies Domain: Network Method name: deleteCookies WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'name' (type: string) -> Name of the cookies to remove. Optional argume...
Function path: Network. setCookie Domain: Network Method name: setCookie WARNING: This function is marked Experimental ! Parameters: Required arguments: name ( type: string ) - > Cookie name. value ( type: string ) - > Cookie value. Optional arguments: url ( type: string ) - > The request - URI to associate with the se...
def Network_setCookie(self, name, value, **kwargs): """ Function path: Network.setCookie Domain: Network Method name: setCookie WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'name' (type: string) -> Cookie name. 'value' (type: string) -> Cookie valu...
Function path: Network. setCookies Domain: Network Method name: setCookies WARNING: This function is marked Experimental ! Parameters: Required arguments: cookies ( type: array ) - > Cookies to be set. No return value. Description: Sets given cookies.
def Network_setCookies(self, cookies): """ Function path: Network.setCookies Domain: Network Method name: setCookies WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'cookies' (type: array) -> Cookies to be set. No return value. Description: Sets g...
Function path: Network. emulateNetworkConditions Domain: Network Method name: emulateNetworkConditions Parameters: Required arguments: offline ( type: boolean ) - > True to emulate internet disconnection. latency ( type: number ) - > Minimum latency from request sent to response headers received ( ms ). downloadThrough...
def Network_emulateNetworkConditions(self, offline, latency, downloadThroughput, uploadThroughput, **kwargs): """ Function path: Network.emulateNetworkConditions Domain: Network Method name: emulateNetworkConditions Parameters: Required arguments: 'offline' (type: boolean) -> True to emula...
Function path: Network. setCacheDisabled Domain: Network Method name: setCacheDisabled Parameters: Required arguments: cacheDisabled ( type: boolean ) - > Cache disabled state. No return value. Description: Toggles ignoring cache for each request. If <code > true</ code > cache will not be used.
def Network_setCacheDisabled(self, cacheDisabled): """ Function path: Network.setCacheDisabled Domain: Network Method name: setCacheDisabled Parameters: Required arguments: 'cacheDisabled' (type: boolean) -> Cache disabled state. No return value. Description: Toggles ignoring cache for...
Function path: Network. setBypassServiceWorker Domain: Network Method name: setBypassServiceWorker WARNING: This function is marked Experimental ! Parameters: Required arguments: bypass ( type: boolean ) - > Bypass service worker and load from network. No return value. Description: Toggles ignoring of service worker fo...
def Network_setBypassServiceWorker(self, bypass): """ Function path: Network.setBypassServiceWorker Domain: Network Method name: setBypassServiceWorker WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'bypass' (type: boolean) -> Bypass service worker and lo...
Function path: Network. getCertificate Domain: Network Method name: getCertificate WARNING: This function is marked Experimental ! Parameters: Required arguments: origin ( type: string ) - > Origin to get certificate for. Returns: tableNames ( type: array ) - > No description Description: Returns the DER - encoded cert...
def Network_getCertificate(self, origin): """ Function path: Network.getCertificate Domain: Network Method name: getCertificate WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'origin' (type: string) -> Origin to get certificate for. Returns: 'table...
Function path: Network. setRequestInterceptionEnabled Domain: Network Method name: setRequestInterceptionEnabled WARNING: This function is marked Experimental ! Parameters: Required arguments: enabled ( type: boolean ) - > Whether requests should be intercepted. If patterns is not set matches all and resets any previou...
def Network_setRequestInterceptionEnabled(self, enabled, **kwargs): """ Function path: Network.setRequestInterceptionEnabled Domain: Network Method name: setRequestInterceptionEnabled WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'enabled' (type: boolean...
Function path: Network. continueInterceptedRequest Domain: Network Method name: continueInterceptedRequest WARNING: This function is marked Experimental ! Parameters: Required arguments: interceptionId ( type: InterceptionId ) - > No description Optional arguments: errorReason ( type: ErrorReason ) - > If set this caus...
def Network_continueInterceptedRequest(self, interceptionId, **kwargs): """ Function path: Network.continueInterceptedRequest Domain: Network Method name: continueInterceptedRequest WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'interceptionId' (type: In...
Function path: Database. executeSQL Domain: Database Method name: executeSQL Parameters: Required arguments: databaseId ( type: DatabaseId ) - > No description query ( type: string ) - > No description Returns: columnNames ( type: array ) - > No description values ( type: array ) - > No description sqlError ( type: Err...
def Database_executeSQL(self, databaseId, query): """ Function path: Database.executeSQL Domain: Database Method name: executeSQL Parameters: Required arguments: 'databaseId' (type: DatabaseId) -> No description 'query' (type: string) -> No description Returns: 'columnNames' (type: ...
Function path: IndexedDB. requestDatabaseNames Domain: IndexedDB Method name: requestDatabaseNames Parameters: Required arguments: securityOrigin ( type: string ) - > Security origin. Returns: databaseNames ( type: array ) - > Database names for origin. Description: Requests database names for given security origin.
def IndexedDB_requestDatabaseNames(self, securityOrigin): """ Function path: IndexedDB.requestDatabaseNames Domain: IndexedDB Method name: requestDatabaseNames Parameters: Required arguments: 'securityOrigin' (type: string) -> Security origin. Returns: 'databaseNames' (type: array) -> Da...
Function path: IndexedDB. requestData Domain: IndexedDB Method name: requestData Parameters: Required arguments: securityOrigin ( type: string ) - > Security origin. databaseName ( type: string ) - > Database name. objectStoreName ( type: string ) - > Object store name. indexName ( type: string ) - > Index name empty s...
def IndexedDB_requestData(self, securityOrigin, databaseName, objectStoreName, indexName, skipCount, pageSize, **kwargs): """ Function path: IndexedDB.requestData Domain: IndexedDB Method name: requestData Parameters: Required arguments: 'securityOrigin' (type: string) -> Security origin. ...
Function path: IndexedDB. clearObjectStore Domain: IndexedDB Method name: clearObjectStore Parameters: Required arguments: securityOrigin ( type: string ) - > Security origin. databaseName ( type: string ) - > Database name. objectStoreName ( type: string ) - > Object store name. Returns: Description: Clears all entrie...
def IndexedDB_clearObjectStore(self, securityOrigin, databaseName, objectStoreName): """ Function path: IndexedDB.clearObjectStore Domain: IndexedDB Method name: clearObjectStore Parameters: Required arguments: 'securityOrigin' (type: string) -> Security origin. 'databaseName' (type: ...
Function path: IndexedDB. deleteDatabase Domain: IndexedDB Method name: deleteDatabase Parameters: Required arguments: securityOrigin ( type: string ) - > Security origin. databaseName ( type: string ) - > Database name. Returns: Description: Deletes a database.
def IndexedDB_deleteDatabase(self, securityOrigin, databaseName): """ Function path: IndexedDB.deleteDatabase Domain: IndexedDB Method name: deleteDatabase Parameters: Required arguments: 'securityOrigin' (type: string) -> Security origin. 'databaseName' (type: string) -> Database name. ...
Function path: CacheStorage. requestCacheNames Domain: CacheStorage Method name: requestCacheNames Parameters: Required arguments: securityOrigin ( type: string ) - > Security origin. Returns: caches ( type: array ) - > Caches for the security origin. Description: Requests cache names.
def CacheStorage_requestCacheNames(self, securityOrigin): """ Function path: CacheStorage.requestCacheNames Domain: CacheStorage Method name: requestCacheNames Parameters: Required arguments: 'securityOrigin' (type: string) -> Security origin. Returns: 'caches' (type: array) -> Caches fo...
Function path: CacheStorage. requestEntries Domain: CacheStorage Method name: requestEntries Parameters: Required arguments: cacheId ( type: CacheId ) - > ID of cache to get entries from. skipCount ( type: integer ) - > Number of records to skip. pageSize ( type: integer ) - > Number of records to fetch. Returns: cache...
def CacheStorage_requestEntries(self, cacheId, skipCount, pageSize): """ Function path: CacheStorage.requestEntries Domain: CacheStorage Method name: requestEntries Parameters: Required arguments: 'cacheId' (type: CacheId) -> ID of cache to get entries from. 'skipCount' (type: integer) -> ...
Function path: CacheStorage. deleteEntry Domain: CacheStorage Method name: deleteEntry Parameters: Required arguments: cacheId ( type: CacheId ) - > Id of cache where the entry will be deleted. request ( type: string ) - > URL spec of the request. No return value. Description: Deletes a cache entry.
def CacheStorage_deleteEntry(self, cacheId, request): """ Function path: CacheStorage.deleteEntry Domain: CacheStorage Method name: deleteEntry Parameters: Required arguments: 'cacheId' (type: CacheId) -> Id of cache where the entry will be deleted. 'request' (type: string) -> URL spec of ...
Function path: CacheStorage. requestCachedResponse Domain: CacheStorage Method name: requestCachedResponse Parameters: Required arguments: cacheId ( type: CacheId ) - > Id of cache that contains the enty. requestURL ( type: string ) - > URL spec of the request. Returns: response ( type: CachedResponse ) - > Response re...
def CacheStorage_requestCachedResponse(self, cacheId, requestURL): """ Function path: CacheStorage.requestCachedResponse Domain: CacheStorage Method name: requestCachedResponse Parameters: Required arguments: 'cacheId' (type: CacheId) -> Id of cache that contains the enty. 'requestURL' (ty...
Function path: DOMStorage. setDOMStorageItem Domain: DOMStorage Method name: setDOMStorageItem Parameters: Required arguments: storageId ( type: StorageId ) - > No description key ( type: string ) - > No description value ( type: string ) - > No description No return value.
def DOMStorage_setDOMStorageItem(self, storageId, key, value): """ Function path: DOMStorage.setDOMStorageItem Domain: DOMStorage Method name: setDOMStorageItem Parameters: Required arguments: 'storageId' (type: StorageId) -> No description 'key' (type: string) -> No description 'valu...
Function path: DOMStorage. removeDOMStorageItem Domain: DOMStorage Method name: removeDOMStorageItem Parameters: Required arguments: storageId ( type: StorageId ) - > No description key ( type: string ) - > No description No return value.
def DOMStorage_removeDOMStorageItem(self, storageId, key): """ Function path: DOMStorage.removeDOMStorageItem Domain: DOMStorage Method name: removeDOMStorageItem Parameters: Required arguments: 'storageId' (type: StorageId) -> No description 'key' (type: string) -> No description No re...
Function path: DOM. querySelector Domain: DOM Method name: querySelector Parameters: Required arguments: nodeId ( type: NodeId ) - > Id of the node to query upon. selector ( type: string ) - > Selector string. Returns: nodeId ( type: NodeId ) - > Query selector result. Description: Executes <code > querySelector</ code...
def DOM_querySelector(self, nodeId, selector): """ Function path: DOM.querySelector Domain: DOM Method name: querySelector Parameters: Required arguments: 'nodeId' (type: NodeId) -> Id of the node to query upon. 'selector' (type: string) -> Selector string. Returns: 'nodeId' (type: ...
Function path: DOM. setNodeName Domain: DOM Method name: setNodeName Parameters: Required arguments: nodeId ( type: NodeId ) - > Id of the node to set name for. name ( type: string ) - > New node s name. Returns: nodeId ( type: NodeId ) - > New node s id. Description: Sets node name for a node with given id.
def DOM_setNodeName(self, nodeId, name): """ Function path: DOM.setNodeName Domain: DOM Method name: setNodeName Parameters: Required arguments: 'nodeId' (type: NodeId) -> Id of the node to set name for. 'name' (type: string) -> New node's name. Returns: 'nodeId' (type: NodeId) -> N...
Function path: DOM. setNodeValue Domain: DOM Method name: setNodeValue Parameters: Required arguments: nodeId ( type: NodeId ) - > Id of the node to set value for. value ( type: string ) - > New node s value. No return value. Description: Sets node value for a node with given id.
def DOM_setNodeValue(self, nodeId, value): """ Function path: DOM.setNodeValue Domain: DOM Method name: setNodeValue Parameters: Required arguments: 'nodeId' (type: NodeId) -> Id of the node to set value for. 'value' (type: string) -> New node's value. No return value. Description...
Function path: DOM. setAttributeValue Domain: DOM Method name: setAttributeValue Parameters: Required arguments: nodeId ( type: NodeId ) - > Id of the element to set attribute for. name ( type: string ) - > Attribute name. value ( type: string ) - > Attribute value. No return value. Description: Sets attribute for an e...
def DOM_setAttributeValue(self, nodeId, name, value): """ Function path: DOM.setAttributeValue Domain: DOM Method name: setAttributeValue Parameters: Required arguments: 'nodeId' (type: NodeId) -> Id of the element to set attribute for. 'name' (type: string) -> Attribute name. 'value'...
Function path: DOM. setAttributesAsText Domain: DOM Method name: setAttributesAsText Parameters: Required arguments: nodeId ( type: NodeId ) - > Id of the element to set attributes for. text ( type: string ) - > Text with a number of attributes. Will parse this text using HTML parser. Optional arguments: name ( type: s...
def DOM_setAttributesAsText(self, nodeId, text, **kwargs): """ Function path: DOM.setAttributesAsText Domain: DOM Method name: setAttributesAsText Parameters: Required arguments: 'nodeId' (type: NodeId) -> Id of the element to set attributes for. 'text' (type: string) -> Text with a number...
Function path: DOM. setOuterHTML Domain: DOM Method name: setOuterHTML Parameters: Required arguments: nodeId ( type: NodeId ) - > Id of the node to set markup for. outerHTML ( type: string ) - > Outer HTML markup to set. No return value. Description: Sets node HTML markup returns new node id.
def DOM_setOuterHTML(self, nodeId, outerHTML): """ Function path: DOM.setOuterHTML Domain: DOM Method name: setOuterHTML Parameters: Required arguments: 'nodeId' (type: NodeId) -> Id of the node to set markup for. 'outerHTML' (type: string) -> Outer HTML markup to set. No return value. ...
Function path: DOM. getSearchResults Domain: DOM Method name: getSearchResults WARNING: This function is marked Experimental ! Parameters: Required arguments: searchId ( type: string ) - > Unique search session identifier. fromIndex ( type: integer ) - > Start index of the search result to be returned. toIndex ( type: ...
def DOM_getSearchResults(self, searchId, fromIndex, toIndex): """ Function path: DOM.getSearchResults Domain: DOM Method name: getSearchResults WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'searchId' (type: string) -> Unique search session identifier. ...
Function path: DOM. discardSearchResults Domain: DOM Method name: discardSearchResults WARNING: This function is marked Experimental ! Parameters: Required arguments: searchId ( type: string ) - > Unique search session identifier. No return value. Description: Discards search results from the session with the given id....
def DOM_discardSearchResults(self, searchId): """ Function path: DOM.discardSearchResults Domain: DOM Method name: discardSearchResults WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'searchId' (type: string) -> Unique search session identifier. No ret...
Function path: DOM. pushNodeByPathToFrontend Domain: DOM Method name: pushNodeByPathToFrontend WARNING: This function is marked Experimental ! Parameters: Required arguments: path ( type: string ) - > Path to node in the proprietary format. Returns: nodeId ( type: NodeId ) - > Id of the node for given path. Description...
def DOM_pushNodeByPathToFrontend(self, path): """ Function path: DOM.pushNodeByPathToFrontend Domain: DOM Method name: pushNodeByPathToFrontend WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'path' (type: string) -> Path to node in the proprietary format....
Function path: DOM. pushNodesByBackendIdsToFrontend Domain: DOM Method name: pushNodesByBackendIdsToFrontend WARNING: This function is marked Experimental ! Parameters: Required arguments: backendNodeIds ( type: array ) - > The array of backend node ids. Returns: nodeIds ( type: array ) - > The array of ids of pushed n...
def DOM_pushNodesByBackendIdsToFrontend(self, backendNodeIds): """ Function path: DOM.pushNodesByBackendIdsToFrontend Domain: DOM Method name: pushNodesByBackendIdsToFrontend WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'backendNodeIds' (type: array) ->...
Function path: DOM. copyTo Domain: DOM Method name: copyTo WARNING: This function is marked Experimental ! Parameters: Required arguments: nodeId ( type: NodeId ) - > Id of the node to copy. targetNodeId ( type: NodeId ) - > Id of the element to drop the copy into. Optional arguments: insertBeforeNodeId ( type: NodeId ...
def DOM_copyTo(self, nodeId, targetNodeId, **kwargs): """ Function path: DOM.copyTo Domain: DOM Method name: copyTo WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'nodeId' (type: NodeId) -> Id of the node to copy. 'targetNodeId' (type: NodeId) -> Id ...
Function path: DOM. setFileInputFiles Domain: DOM Method name: setFileInputFiles WARNING: This function is marked Experimental ! Parameters: Required arguments: files ( type: array ) - > Array of file paths to set. Optional arguments: nodeId ( type: NodeId ) - > Identifier of the node. backendNodeId ( type: BackendNode...
def DOM_setFileInputFiles(self, files, **kwargs): """ Function path: DOM.setFileInputFiles Domain: DOM Method name: setFileInputFiles WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'files' (type: array) -> Array of file paths to set. Optional argument...
Function path: DOM. getNodeForLocation Domain: DOM Method name: getNodeForLocation WARNING: This function is marked Experimental ! Parameters: Required arguments: x ( type: integer ) - > X coordinate. y ( type: integer ) - > Y coordinate. Optional arguments: includeUserAgentShadowDOM ( type: boolean ) - > False to skip...
def DOM_getNodeForLocation(self, x, y, **kwargs): """ Function path: DOM.getNodeForLocation Domain: DOM Method name: getNodeForLocation WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'x' (type: integer) -> X coordinate. 'y' (type: integer) -> Y coord...
Function path: DOM. describeNode Domain: DOM Method name: describeNode Parameters: Optional arguments: nodeId ( type: NodeId ) - > Identifier of the node. backendNodeId ( type: BackendNodeId ) - > Identifier of the backend node. objectId ( type: Runtime. RemoteObjectId ) - > JavaScript object id of the node wrapper. de...
def DOM_describeNode(self, **kwargs): """ Function path: DOM.describeNode Domain: DOM Method name: describeNode Parameters: Optional arguments: 'nodeId' (type: NodeId) -> Identifier of the node. 'backendNodeId' (type: BackendNodeId) -> Identifier of the backend node. 'objectId' (type:...
Function path: CSS. setStyleSheetText Domain: CSS Method name: setStyleSheetText Parameters: Required arguments: styleSheetId ( type: StyleSheetId ) - > No description text ( type: string ) - > No description Returns: sourceMapURL ( type: string ) - > URL of source map associated with script ( if any ). Description: Se...
def CSS_setStyleSheetText(self, styleSheetId, text): """ Function path: CSS.setStyleSheetText Domain: CSS Method name: setStyleSheetText Parameters: Required arguments: 'styleSheetId' (type: StyleSheetId) -> No description 'text' (type: string) -> No description Returns: 'sourceMapU...
Function path: CSS. setRuleSelector Domain: CSS Method name: setRuleSelector Parameters: Required arguments: styleSheetId ( type: StyleSheetId ) - > No description range ( type: SourceRange ) - > No description selector ( type: string ) - > No description Returns: selectorList ( type: SelectorList ) - > The resulting s...
def CSS_setRuleSelector(self, styleSheetId, range, selector): """ Function path: CSS.setRuleSelector Domain: CSS Method name: setRuleSelector Parameters: Required arguments: 'styleSheetId' (type: StyleSheetId) -> No description 'range' (type: SourceRange) -> No description 'selector' ...
Function path: CSS. setKeyframeKey Domain: CSS Method name: setKeyframeKey Parameters: Required arguments: styleSheetId ( type: StyleSheetId ) - > No description range ( type: SourceRange ) - > No description keyText ( type: string ) - > No description Returns: keyText ( type: Value ) - > The resulting key text after m...
def CSS_setKeyframeKey(self, styleSheetId, range, keyText): """ Function path: CSS.setKeyframeKey Domain: CSS Method name: setKeyframeKey Parameters: Required arguments: 'styleSheetId' (type: StyleSheetId) -> No description 'range' (type: SourceRange) -> No description 'keyText' (type...
Function path: CSS. setStyleTexts Domain: CSS Method name: setStyleTexts Parameters: Required arguments: edits ( type: array ) - > No description Returns: styles ( type: array ) - > The resulting styles after modification. Description: Applies specified style edits one after another in the given order.
def CSS_setStyleTexts(self, edits): """ Function path: CSS.setStyleTexts Domain: CSS Method name: setStyleTexts Parameters: Required arguments: 'edits' (type: array) -> No description Returns: 'styles' (type: array) -> The resulting styles after modification. Description: Applies s...
Function path: CSS. setMediaText Domain: CSS Method name: setMediaText Parameters: Required arguments: styleSheetId ( type: StyleSheetId ) - > No description range ( type: SourceRange ) - > No description text ( type: string ) - > No description Returns: media ( type: CSSMedia ) - > The resulting CSS media rule after m...
def CSS_setMediaText(self, styleSheetId, range, text): """ Function path: CSS.setMediaText Domain: CSS Method name: setMediaText Parameters: Required arguments: 'styleSheetId' (type: StyleSheetId) -> No description 'range' (type: SourceRange) -> No description 'text' (type: string) ->...
Function path: CSS. addRule Domain: CSS Method name: addRule Parameters: Required arguments: styleSheetId ( type: StyleSheetId ) - > The css style sheet identifier where a new rule should be inserted. ruleText ( type: string ) - > The text of a new rule. location ( type: SourceRange ) - > Text position of a new rule in...
def CSS_addRule(self, styleSheetId, ruleText, location): """ Function path: CSS.addRule Domain: CSS Method name: addRule Parameters: Required arguments: 'styleSheetId' (type: StyleSheetId) -> The css style sheet identifier where a new rule should be inserted. 'ruleText' (type: string) -> T...
Function path: CSS. forcePseudoState Domain: CSS Method name: forcePseudoState Parameters: Required arguments: nodeId ( type: DOM. NodeId ) - > The element id for which to force the pseudo state. forcedPseudoClasses ( type: array ) - > Element pseudo classes to force when computing the element s style. No return value....
def CSS_forcePseudoState(self, nodeId, forcedPseudoClasses): """ Function path: CSS.forcePseudoState Domain: CSS Method name: forcePseudoState Parameters: Required arguments: 'nodeId' (type: DOM.NodeId) -> The element id for which to force the pseudo state. 'forcedPseudoClasses' (type: arr...
Function path: CSS. setEffectivePropertyValueForNode Domain: CSS Method name: setEffectivePropertyValueForNode WARNING: This function is marked Experimental ! Parameters: Required arguments: nodeId ( type: DOM. NodeId ) - > The element id for which to set property. propertyName ( type: string ) - > No description value...
def CSS_setEffectivePropertyValueForNode(self, nodeId, propertyName, value): """ Function path: CSS.setEffectivePropertyValueForNode Domain: CSS Method name: setEffectivePropertyValueForNode WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'nodeId' (type: D...
Function path: DOMSnapshot. getSnapshot Domain: DOMSnapshot Method name: getSnapshot Parameters: Required arguments: computedStyleWhitelist ( type: array ) - > Whitelist of computed styles to return. Returns: domNodes ( type: array ) - > The nodes in the DOM tree. The DOMNode at index 0 corresponds to the root document...
def DOMSnapshot_getSnapshot(self, computedStyleWhitelist): """ Function path: DOMSnapshot.getSnapshot Domain: DOMSnapshot Method name: getSnapshot Parameters: Required arguments: 'computedStyleWhitelist' (type: array) -> Whitelist of computed styles to return. Returns: 'domNodes' (type: ...
Function path: DOMDebugger. setDOMBreakpoint Domain: DOMDebugger Method name: setDOMBreakpoint Parameters: Required arguments: nodeId ( type: DOM. NodeId ) - > Identifier of the node to set breakpoint on. type ( type: DOMBreakpointType ) - > Type of the operation to stop upon. No return value. Description: Sets breakpo...
def DOMDebugger_setDOMBreakpoint(self, nodeId, type): """ Function path: DOMDebugger.setDOMBreakpoint Domain: DOMDebugger Method name: setDOMBreakpoint Parameters: Required arguments: 'nodeId' (type: DOM.NodeId) -> Identifier of the node to set breakpoint on. 'type' (type: DOMBreakpointTyp...
Function path: DOMDebugger. removeDOMBreakpoint Domain: DOMDebugger Method name: removeDOMBreakpoint Parameters: Required arguments: nodeId ( type: DOM. NodeId ) - > Identifier of the node to remove breakpoint from. type ( type: DOMBreakpointType ) - > Type of the breakpoint to remove. No return value. Description: Rem...
def DOMDebugger_removeDOMBreakpoint(self, nodeId, type): """ Function path: DOMDebugger.removeDOMBreakpoint Domain: DOMDebugger Method name: removeDOMBreakpoint Parameters: Required arguments: 'nodeId' (type: DOM.NodeId) -> Identifier of the node to remove breakpoint from. 'type' (type: DO...
Function path: DOMDebugger. setInstrumentationBreakpoint Domain: DOMDebugger Method name: setInstrumentationBreakpoint WARNING: This function is marked Experimental ! Parameters: Required arguments: eventName ( type: string ) - > Instrumentation name to stop on. No return value. Description: Sets breakpoint on particul...
def DOMDebugger_setInstrumentationBreakpoint(self, eventName): """ Function path: DOMDebugger.setInstrumentationBreakpoint Domain: DOMDebugger Method name: setInstrumentationBreakpoint WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'eventName' (type: stri...
Function path: DOMDebugger. removeInstrumentationBreakpoint Domain: DOMDebugger Method name: removeInstrumentationBreakpoint WARNING: This function is marked Experimental ! Parameters: Required arguments: eventName ( type: string ) - > Instrumentation name to stop on. No return value. Description: Removes breakpoint on...
def DOMDebugger_removeInstrumentationBreakpoint(self, eventName): """ Function path: DOMDebugger.removeInstrumentationBreakpoint Domain: DOMDebugger Method name: removeInstrumentationBreakpoint WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'eventName' (t...
Function path: DOMDebugger. setXHRBreakpoint Domain: DOMDebugger Method name: setXHRBreakpoint Parameters: Required arguments: url ( type: string ) - > Resource URL substring. All XHRs having this substring in the URL will get stopped upon. No return value. Description: Sets breakpoint on XMLHttpRequest.
def DOMDebugger_setXHRBreakpoint(self, url): """ Function path: DOMDebugger.setXHRBreakpoint Domain: DOMDebugger Method name: setXHRBreakpoint Parameters: Required arguments: 'url' (type: string) -> Resource URL substring. All XHRs having this substring in the URL will get stopped upon. No r...
Function path: DOMDebugger. removeXHRBreakpoint Domain: DOMDebugger Method name: removeXHRBreakpoint Parameters: Required arguments: url ( type: string ) - > Resource URL substring. No return value. Description: Removes breakpoint from XMLHttpRequest.
def DOMDebugger_removeXHRBreakpoint(self, url): """ Function path: DOMDebugger.removeXHRBreakpoint Domain: DOMDebugger Method name: removeXHRBreakpoint Parameters: Required arguments: 'url' (type: string) -> Resource URL substring. No return value. Description: Removes breakpoint from ...
Function path: Target. setDiscoverTargets Domain: Target Method name: setDiscoverTargets Parameters: Required arguments: discover ( type: boolean ) - > Whether to discover available targets. No return value. Description: Controls whether to discover available targets and notify via <code > targetCreated/ targetInfoChan...
def Target_setDiscoverTargets(self, discover): """ Function path: Target.setDiscoverTargets Domain: Target Method name: setDiscoverTargets Parameters: Required arguments: 'discover' (type: boolean) -> Whether to discover available targets. No return value. Description: Controls whether...
Function path: Target. setAutoAttach Domain: Target Method name: setAutoAttach Parameters: Required arguments: autoAttach ( type: boolean ) - > Whether to auto - attach to related targets. waitForDebuggerOnStart ( type: boolean ) - > Whether to pause new targets when attaching to them. Use <code > Runtime. runIfWaiting...
def Target_setAutoAttach(self, autoAttach, waitForDebuggerOnStart): """ Function path: Target.setAutoAttach Domain: Target Method name: setAutoAttach Parameters: Required arguments: 'autoAttach' (type: boolean) -> Whether to auto-attach to related targets. 'waitForDebuggerOnStart' (type: b...
Function path: Target. setAttachToFrames Domain: Target Method name: setAttachToFrames Parameters: Required arguments: value ( type: boolean ) - > Whether to attach to frames. No return value.
def Target_setAttachToFrames(self, value): """ Function path: Target.setAttachToFrames Domain: Target Method name: setAttachToFrames Parameters: Required arguments: 'value' (type: boolean) -> Whether to attach to frames. No return value. """ assert isinstance(value, (bool,) ), "...
Function path: Target. setRemoteLocations Domain: Target Method name: setRemoteLocations Parameters: Required arguments: locations ( type: array ) - > List of remote locations. No return value. Description: Enables target discovery for the specified locations when <code > setDiscoverTargets</ code > was set to <code > ...
def Target_setRemoteLocations(self, locations): """ Function path: Target.setRemoteLocations Domain: Target Method name: setRemoteLocations Parameters: Required arguments: 'locations' (type: array) -> List of remote locations. No return value. Description: Enables target discovery for ...
Function path: Target. sendMessageToTarget Domain: Target Method name: sendMessageToTarget Parameters: Required arguments: message ( type: string ) - > No description Optional arguments: sessionId ( type: SessionID ) - > Identifier of the session. targetId ( type: TargetID ) - > Deprecated. No return value. Description...
def Target_sendMessageToTarget(self, message, **kwargs): """ Function path: Target.sendMessageToTarget Domain: Target Method name: sendMessageToTarget Parameters: Required arguments: 'message' (type: string) -> No description Optional arguments: 'sessionId' (type: SessionID) -> Identif...
Function path: ServiceWorker. unregister Domain: ServiceWorker Method name: unregister Parameters: Required arguments: scopeURL ( type: string ) - > No description No return value.
def ServiceWorker_unregister(self, scopeURL): """ Function path: ServiceWorker.unregister Domain: ServiceWorker Method name: unregister Parameters: Required arguments: 'scopeURL' (type: string) -> No description No return value. """ assert isinstance(scopeURL, (str,) ), "Argumen...
Function path: ServiceWorker. updateRegistration Domain: ServiceWorker Method name: updateRegistration Parameters: Required arguments: scopeURL ( type: string ) - > No description No return value.
def ServiceWorker_updateRegistration(self, scopeURL): """ Function path: ServiceWorker.updateRegistration Domain: ServiceWorker Method name: updateRegistration Parameters: Required arguments: 'scopeURL' (type: string) -> No description No return value. """ assert isinstance(scopeURL, ...
Function path: ServiceWorker. startWorker Domain: ServiceWorker Method name: startWorker Parameters: Required arguments: scopeURL ( type: string ) - > No description No return value.
def ServiceWorker_startWorker(self, scopeURL): """ Function path: ServiceWorker.startWorker Domain: ServiceWorker Method name: startWorker Parameters: Required arguments: 'scopeURL' (type: string) -> No description No return value. """ assert isinstance(scopeURL, (str,) ), "Argu...
Function path: ServiceWorker. skipWaiting Domain: ServiceWorker Method name: skipWaiting Parameters: Required arguments: scopeURL ( type: string ) - > No description No return value.
def ServiceWorker_skipWaiting(self, scopeURL): """ Function path: ServiceWorker.skipWaiting Domain: ServiceWorker Method name: skipWaiting Parameters: Required arguments: 'scopeURL' (type: string) -> No description No return value. """ assert isinstance(scopeURL, (str,) ), "Argu...
Function path: ServiceWorker. stopWorker Domain: ServiceWorker Method name: stopWorker Parameters: Required arguments: versionId ( type: string ) - > No description No return value.
def ServiceWorker_stopWorker(self, versionId): """ Function path: ServiceWorker.stopWorker Domain: ServiceWorker Method name: stopWorker Parameters: Required arguments: 'versionId' (type: string) -> No description No return value. """ assert isinstance(versionId, (str,) ), "Argu...
Function path: ServiceWorker. inspectWorker Domain: ServiceWorker Method name: inspectWorker Parameters: Required arguments: versionId ( type: string ) - > No description No return value.
def ServiceWorker_inspectWorker(self, versionId): """ Function path: ServiceWorker.inspectWorker Domain: ServiceWorker Method name: inspectWorker Parameters: Required arguments: 'versionId' (type: string) -> No description No return value. """ assert isinstance(versionId, (str,) ...
Function path: ServiceWorker. setForceUpdateOnPageLoad Domain: ServiceWorker Method name: setForceUpdateOnPageLoad Parameters: Required arguments: forceUpdateOnPageLoad ( type: boolean ) - > No description No return value.
def ServiceWorker_setForceUpdateOnPageLoad(self, forceUpdateOnPageLoad): """ Function path: ServiceWorker.setForceUpdateOnPageLoad Domain: ServiceWorker Method name: setForceUpdateOnPageLoad Parameters: Required arguments: 'forceUpdateOnPageLoad' (type: boolean) -> No description No return v...
Function path: ServiceWorker. deliverPushMessage Domain: ServiceWorker Method name: deliverPushMessage Parameters: Required arguments: origin ( type: string ) - > No description registrationId ( type: string ) - > No description data ( type: string ) - > No description No return value.
def ServiceWorker_deliverPushMessage(self, origin, registrationId, data): """ Function path: ServiceWorker.deliverPushMessage Domain: ServiceWorker Method name: deliverPushMessage Parameters: Required arguments: 'origin' (type: string) -> No description 'registrationId' (type: string) -> N...
Function path: ServiceWorker. dispatchSyncEvent Domain: ServiceWorker Method name: dispatchSyncEvent Parameters: Required arguments: origin ( type: string ) - > No description registrationId ( type: string ) - > No description tag ( type: string ) - > No description lastChance ( type: boolean ) - > No description No re...
def ServiceWorker_dispatchSyncEvent(self, origin, registrationId, tag, lastChance): """ Function path: ServiceWorker.dispatchSyncEvent Domain: ServiceWorker Method name: dispatchSyncEvent Parameters: Required arguments: 'origin' (type: string) -> No description 'registrationId' (type:...
Function path: Input. setIgnoreInputEvents Domain: Input Method name: setIgnoreInputEvents Parameters: Required arguments: ignore ( type: boolean ) - > Ignores input events processing when set to true. No return value. Description: Ignores input events ( useful while auditing page ).
def Input_setIgnoreInputEvents(self, ignore): """ Function path: Input.setIgnoreInputEvents Domain: Input Method name: setIgnoreInputEvents Parameters: Required arguments: 'ignore' (type: boolean) -> Ignores input events processing when set to true. No return value. Description: Ignore...
Function path: Input. dispatchMouseEvent Domain: Input Method name: dispatchMouseEvent Parameters: Required arguments: type ( type: string ) - > Type of the mouse event. x ( type: number ) - > X coordinate of the event relative to the main frame s viewport in CSS pixels. y ( type: number ) - > Y coordinate of the event...
def Input_dispatchMouseEvent(self, type, x, y, **kwargs): """ Function path: Input.dispatchMouseEvent Domain: Input Method name: dispatchMouseEvent Parameters: Required arguments: 'type' (type: string) -> Type of the mouse event. 'x' (type: number) -> X coordinate of the event relative to ...
Function path: Input. dispatchTouchEvent Domain: Input Method name: dispatchTouchEvent WARNING: This function is marked Experimental ! Parameters: Required arguments: type ( type: string ) - > Type of the touch event. TouchEnd and TouchCancel must not contain any touch points while TouchStart and TouchMove must contain...
def Input_dispatchTouchEvent(self, type, touchPoints, **kwargs): """ Function path: Input.dispatchTouchEvent Domain: Input Method name: dispatchTouchEvent WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'type' (type: string) -> Type of the touch event. Tou...
Function path: Input. synthesizePinchGesture Domain: Input Method name: synthesizePinchGesture WARNING: This function is marked Experimental ! Parameters: Required arguments: x ( type: number ) - > X coordinate of the start of the gesture in CSS pixels. y ( type: number ) - > Y coordinate of the start of the gesture in...
def Input_synthesizePinchGesture(self, x, y, scaleFactor, **kwargs): """ Function path: Input.synthesizePinchGesture Domain: Input Method name: synthesizePinchGesture WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'x' (type: number) -> X coordinate of the...
Function path: LayerTree. loadSnapshot Domain: LayerTree Method name: loadSnapshot Parameters: Required arguments: tiles ( type: array ) - > An array of tiles composing the snapshot. Returns: snapshotId ( type: SnapshotId ) - > The id of the snapshot. Description: Returns the snapshot identifier.
def LayerTree_loadSnapshot(self, tiles): """ Function path: LayerTree.loadSnapshot Domain: LayerTree Method name: loadSnapshot Parameters: Required arguments: 'tiles' (type: array) -> An array of tiles composing the snapshot. Returns: 'snapshotId' (type: SnapshotId) -> The id of the snap...
Function path: Tracing. recordClockSyncMarker Domain: Tracing Method name: recordClockSyncMarker Parameters: Required arguments: syncId ( type: string ) - > The ID of this clock sync marker No return value. Description: Record a clock sync marker in the trace.
def Tracing_recordClockSyncMarker(self, syncId): """ Function path: Tracing.recordClockSyncMarker Domain: Tracing Method name: recordClockSyncMarker Parameters: Required arguments: 'syncId' (type: string) -> The ID of this clock sync marker No return value. Description: Record a clock ...
Function path: Animation. setPlaybackRate Domain: Animation Method name: setPlaybackRate Parameters: Required arguments: playbackRate ( type: number ) - > Playback rate for animations on page No return value. Description: Sets the playback rate of the document timeline.
def Animation_setPlaybackRate(self, playbackRate): """ Function path: Animation.setPlaybackRate Domain: Animation Method name: setPlaybackRate Parameters: Required arguments: 'playbackRate' (type: number) -> Playback rate for animations on page No return value. Description: Sets the pl...
Function path: Animation. getCurrentTime Domain: Animation Method name: getCurrentTime Parameters: Required arguments: id ( type: string ) - > Id of animation. Returns: currentTime ( type: number ) - > Current time of the page. Description: Returns the current time of the an animation.
def Animation_getCurrentTime(self, id): """ Function path: Animation.getCurrentTime Domain: Animation Method name: getCurrentTime Parameters: Required arguments: 'id' (type: string) -> Id of animation. Returns: 'currentTime' (type: number) -> Current time of the page. Description: ...
Function path: Animation. setPaused Domain: Animation Method name: setPaused Parameters: Required arguments: animations ( type: array ) - > Animations to set the pause state of. paused ( type: boolean ) - > Paused state to set to. No return value. Description: Sets the paused state of a set of animations.
def Animation_setPaused(self, animations, paused): """ Function path: Animation.setPaused Domain: Animation Method name: setPaused Parameters: Required arguments: 'animations' (type: array) -> Animations to set the pause state of. 'paused' (type: boolean) -> Paused state to set to. No r...
Function path: Animation. setTiming Domain: Animation Method name: setTiming Parameters: Required arguments: animationId ( type: string ) - > Animation id. duration ( type: number ) - > Duration of the animation. delay ( type: number ) - > Delay of the animation. No return value. Description: Sets the timing of an anim...
def Animation_setTiming(self, animationId, duration, delay): """ Function path: Animation.setTiming Domain: Animation Method name: setTiming Parameters: Required arguments: 'animationId' (type: string) -> Animation id. 'duration' (type: number) -> Duration of the animation. 'delay' (t...
Function path: Animation. seekAnimations Domain: Animation Method name: seekAnimations Parameters: Required arguments: animations ( type: array ) - > List of animation ids to seek. currentTime ( type: number ) - > Set the current time of each animation. No return value. Description: Seek a set of animations to a partic...
def Animation_seekAnimations(self, animations, currentTime): """ Function path: Animation.seekAnimations Domain: Animation Method name: seekAnimations Parameters: Required arguments: 'animations' (type: array) -> List of animation ids to seek. 'currentTime' (type: number) -> Set the curren...
Function path: Animation. releaseAnimations Domain: Animation Method name: releaseAnimations Parameters: Required arguments: animations ( type: array ) - > List of animation ids to seek. No return value. Description: Releases a set of animations to no longer be manipulated.
def Animation_releaseAnimations(self, animations): """ Function path: Animation.releaseAnimations Domain: Animation Method name: releaseAnimations Parameters: Required arguments: 'animations' (type: array) -> List of animation ids to seek. No return value. Description: Releases a set o...
Function path: Animation. resolveAnimation Domain: Animation Method name: resolveAnimation Parameters: Required arguments: animationId ( type: string ) - > Animation id. Returns: remoteObject ( type: Runtime. RemoteObject ) - > Corresponding remote object. Description: Gets the remote object of the Animation.
def Animation_resolveAnimation(self, animationId): """ Function path: Animation.resolveAnimation Domain: Animation Method name: resolveAnimation Parameters: Required arguments: 'animationId' (type: string) -> Animation id. Returns: 'remoteObject' (type: Runtime.RemoteObject) -> Correspon...
Function path: Storage. clearDataForOrigin Domain: Storage Method name: clearDataForOrigin Parameters: Required arguments: origin ( type: string ) - > Security origin. storageTypes ( type: string ) - > Comma separated origin names. No return value. Description: Clears storage for origin.
def Storage_clearDataForOrigin(self, origin, storageTypes): """ Function path: Storage.clearDataForOrigin Domain: Storage Method name: clearDataForOrigin Parameters: Required arguments: 'origin' (type: string) -> Security origin. 'storageTypes' (type: string) -> Comma separated origin name...
Function path: Storage. getUsageAndQuota Domain: Storage Method name: getUsageAndQuota Parameters: Required arguments: origin ( type: string ) - > Security origin. Returns: usage ( type: number ) - > Storage usage ( bytes ). quota ( type: number ) - > Storage quota ( bytes ). usageBreakdown ( type: array ) - > Storage ...
def Storage_getUsageAndQuota(self, origin): """ Function path: Storage.getUsageAndQuota Domain: Storage Method name: getUsageAndQuota Parameters: Required arguments: 'origin' (type: string) -> Security origin. Returns: 'usage' (type: number) -> Storage usage (bytes). 'quota' (type: n...
Function path: Storage. trackCacheStorageForOrigin Domain: Storage Method name: trackCacheStorageForOrigin Parameters: Required arguments: origin ( type: string ) - > Security origin. No return value. Description: Registers origin to be notified when an update occurs to its cache storage list.
def Storage_trackCacheStorageForOrigin(self, origin): """ Function path: Storage.trackCacheStorageForOrigin Domain: Storage Method name: trackCacheStorageForOrigin Parameters: Required arguments: 'origin' (type: string) -> Security origin. No return value. Description: Registers origin...
Function path: Storage. untrackCacheStorageForOrigin Domain: Storage Method name: untrackCacheStorageForOrigin Parameters: Required arguments: origin ( type: string ) - > Security origin. No return value. Description: Unregisters origin from receiving notifications for cache storage.
def Storage_untrackCacheStorageForOrigin(self, origin): """ Function path: Storage.untrackCacheStorageForOrigin Domain: Storage Method name: untrackCacheStorageForOrigin Parameters: Required arguments: 'origin' (type: string) -> Security origin. No return value. Description: Unregister...
Function path: Log. startViolationsReport Domain: Log Method name: startViolationsReport Parameters: Required arguments: config ( type: array ) - > Configuration for violations. No return value. Description: start violation reporting.
def Log_startViolationsReport(self, config): """ Function path: Log.startViolationsReport Domain: Log Method name: startViolationsReport Parameters: Required arguments: 'config' (type: array) -> Configuration for violations. No return value. Description: start violation reporting. ""...
Function path: Tethering. bind Domain: Tethering Method name: bind Parameters: Required arguments: port ( type: integer ) - > Port number to bind. No return value. Description: Request browser port binding.
def Tethering_bind(self, port): """ Function path: Tethering.bind Domain: Tethering Method name: bind Parameters: Required arguments: 'port' (type: integer) -> Port number to bind. No return value. Description: Request browser port binding. """ assert isinstance(port, (int,) ...
Function path: Tethering. unbind Domain: Tethering Method name: unbind Parameters: Required arguments: port ( type: integer ) - > Port number to unbind. No return value. Description: Request browser port unbinding.
def Tethering_unbind(self, port): """ Function path: Tethering.unbind Domain: Tethering Method name: unbind Parameters: Required arguments: 'port' (type: integer) -> Port number to unbind. No return value. Description: Request browser port unbinding. """ assert isinstance(port, (in...
Function path: Browser. setWindowBounds Domain: Browser Method name: setWindowBounds Parameters: Required arguments: windowId ( type: WindowID ) - > Browser window id. bounds ( type: Bounds ) - > New window bounds. The minimized maximized and fullscreen states cannot be combined with left top width or height. Leaves un...
def Browser_setWindowBounds(self, windowId, bounds): """ Function path: Browser.setWindowBounds Domain: Browser Method name: setWindowBounds Parameters: Required arguments: 'windowId' (type: WindowID) -> Browser window id. 'bounds' (type: Bounds) -> New window bounds. The 'minimized', 'max...
Function path: Runtime. evaluate Domain: Runtime Method name: evaluate Parameters: Required arguments: expression ( type: string ) - > Expression to evaluate. Optional arguments: objectGroup ( type: string ) - > Symbolic group name that can be used to release multiple objects. includeCommandLineAPI ( type: boolean ) - ...
def Runtime_evaluate(self, expression, **kwargs): """ Function path: Runtime.evaluate Domain: Runtime Method name: evaluate Parameters: Required arguments: 'expression' (type: string) -> Expression to evaluate. Optional arguments: 'objectGroup' (type: string) -> Symbolic group name tha...
Function path: Runtime. callFunctionOn Domain: Runtime Method name: callFunctionOn Parameters: Required arguments: functionDeclaration ( type: string ) - > Declaration of the function to call. Optional arguments: objectId ( type: RemoteObjectId ) - > Identifier of the object to call function on. Either objectId or exec...
def Runtime_callFunctionOn(self, functionDeclaration, **kwargs): """ Function path: Runtime.callFunctionOn Domain: Runtime Method name: callFunctionOn Parameters: Required arguments: 'functionDeclaration' (type: string) -> Declaration of the function to call. Optional arguments: 'objec...
Function path: Runtime. releaseObjectGroup Domain: Runtime Method name: releaseObjectGroup Parameters: Required arguments: objectGroup ( type: string ) - > Symbolic object group name. No return value. Description: Releases all remote objects that belong to a given group.
def Runtime_releaseObjectGroup(self, objectGroup): """ Function path: Runtime.releaseObjectGroup Domain: Runtime Method name: releaseObjectGroup Parameters: Required arguments: 'objectGroup' (type: string) -> Symbolic object group name. No return value. Description: Releases all remote...
Function path: Runtime. setCustomObjectFormatterEnabled Domain: Runtime Method name: setCustomObjectFormatterEnabled WARNING: This function is marked Experimental ! Parameters: Required arguments: enabled ( type: boolean ) - > No description No return value.
def Runtime_setCustomObjectFormatterEnabled(self, enabled): """ Function path: Runtime.setCustomObjectFormatterEnabled Domain: Runtime Method name: setCustomObjectFormatterEnabled WARNING: This function is marked 'Experimental'! Parameters: Required arguments: 'enabled' (type: boolean) ->...
Function path: Runtime. compileScript Domain: Runtime Method name: compileScript Parameters: Required arguments: expression ( type: string ) - > Expression to compile. sourceURL ( type: string ) - > Source url to be set for the script. persistScript ( type: boolean ) - > Specifies whether the compiled script should be ...
def Runtime_compileScript(self, expression, sourceURL, persistScript, **kwargs ): """ Function path: Runtime.compileScript Domain: Runtime Method name: compileScript Parameters: Required arguments: 'expression' (type: string) -> Expression to compile. 'sourceURL' (type: string) -> Sou...
Function path: Runtime. runScript Domain: Runtime Method name: runScript Parameters: Required arguments: scriptId ( type: ScriptId ) - > Id of the script to run. Optional arguments: executionContextId ( type: ExecutionContextId ) - > Specifies in which execution context to perform script run. If the parameter is omitte...
def Runtime_runScript(self, scriptId, **kwargs): """ Function path: Runtime.runScript Domain: Runtime Method name: runScript Parameters: Required arguments: 'scriptId' (type: ScriptId) -> Id of the script to run. Optional arguments: 'executionContextId' (type: ExecutionContextId) -> Sp...
Function path: Debugger. setBreakpointsActive Domain: Debugger Method name: setBreakpointsActive Parameters: Required arguments: active ( type: boolean ) - > New value for breakpoints active state. No return value. Description: Activates/ deactivates all breakpoints on the page.
def Debugger_setBreakpointsActive(self, active): """ Function path: Debugger.setBreakpointsActive Domain: Debugger Method name: setBreakpointsActive Parameters: Required arguments: 'active' (type: boolean) -> New value for breakpoints active state. No return value. Description: Activat...
Function path: Debugger. setSkipAllPauses Domain: Debugger Method name: setSkipAllPauses Parameters: Required arguments: skip ( type: boolean ) - > New value for skip pauses state. No return value. Description: Makes page not interrupt on any pauses ( breakpoint exception dom exception etc ).
def Debugger_setSkipAllPauses(self, skip): """ Function path: Debugger.setSkipAllPauses Domain: Debugger Method name: setSkipAllPauses Parameters: Required arguments: 'skip' (type: boolean) -> New value for skip pauses state. No return value. Description: Makes page not interrupt on an...
Function path: Debugger. setScriptSource Domain: Debugger Method name: setScriptSource Parameters: Required arguments: scriptId ( type: Runtime. ScriptId ) - > Id of the script to edit. scriptSource ( type: string ) - > New content of the script. Optional arguments: dryRun ( type: boolean ) - > If true the change will ...
def Debugger_setScriptSource(self, scriptId, scriptSource, **kwargs): """ Function path: Debugger.setScriptSource Domain: Debugger Method name: setScriptSource Parameters: Required arguments: 'scriptId' (type: Runtime.ScriptId) -> Id of the script to edit. 'scriptSource' (type: string) -> ...