repo stringlengths 7 55 | path stringlengths 4 223 | func_name stringlengths 1 134 | original_string stringlengths 75 104k | language stringclasses 1
value | code stringlengths 75 104k | code_tokens listlengths 19 28.4k | docstring stringlengths 1 46.9k | docstring_tokens listlengths 1 1.97k | sha stringlengths 40 40 | url stringlengths 87 315 | partition stringclasses 3
values | summary stringlengths 4 350 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
fake-name/ChromeController | ChromeController/__main__.py | cli | def cli(verbose, silent):
'''
ChromeController
\b
Usage: python3 -m ChromeController [-s | --silent] [-v | --verbose]
python3 -m ChromeController fetch <url> [--binary <bin_name>] [--outfile <out_file_name>]
python3 -m ChromeController update
python3 -m ChromeController (-h | --help)
python3 -m ChromeControll... | python | def cli(verbose, silent):
'''
ChromeController
\b
Usage: python3 -m ChromeController [-s | --silent] [-v | --verbose]
python3 -m ChromeController fetch <url> [--binary <bin_name>] [--outfile <out_file_name>]
python3 -m ChromeController update
python3 -m ChromeController (-h | --help)
python3 -m ChromeControll... | [
"def",
"cli",
"(",
"verbose",
",",
"silent",
")",
":",
"if",
"verbose",
":",
"logging",
".",
"basicConfig",
"(",
"level",
"=",
"logging",
".",
"DEBUG",
")",
"elif",
"silent",
":",
"logging",
".",
"basicConfig",
"(",
"level",
"=",
"logging",
".",
"ERROR... | ChromeController
\b
Usage: python3 -m ChromeController [-s | --silent] [-v | --verbose]
python3 -m ChromeController fetch <url> [--binary <bin_name>] [--outfile <out_file_name>]
python3 -m ChromeController update
python3 -m ChromeController (-h | --help)
python3 -m ChromeController --version
\b
Options:
-s ... | [
"ChromeController"
] | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/__main__.py#L17-L43 | train | A simple command line interface for the get - url - list of URLs. |
fake-name/ChromeController | ChromeController/__main__.py | fetch | def fetch(url, binary, outfile, noprint, rendered):
'''
Fetch a specified URL's content, and output it to the console.
'''
with chrome_context.ChromeContext(binary=binary) as cr:
resp = cr.blocking_navigate_and_get_source(url)
if rendered:
resp['content'] = cr.get_rendered_page_source()
resp['binary'] = F... | python | def fetch(url, binary, outfile, noprint, rendered):
'''
Fetch a specified URL's content, and output it to the console.
'''
with chrome_context.ChromeContext(binary=binary) as cr:
resp = cr.blocking_navigate_and_get_source(url)
if rendered:
resp['content'] = cr.get_rendered_page_source()
resp['binary'] = F... | [
"def",
"fetch",
"(",
"url",
",",
"binary",
",",
"outfile",
",",
"noprint",
",",
"rendered",
")",
":",
"with",
"chrome_context",
".",
"ChromeContext",
"(",
"binary",
"=",
"binary",
")",
"as",
"cr",
":",
"resp",
"=",
"cr",
".",
"blocking_navigate_and_get_sou... | Fetch a specified URL's content, and output it to the console. | [
"Fetch",
"a",
"specified",
"URL",
"s",
"content",
"and",
"output",
"it",
"to",
"the",
"console",
"."
] | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/__main__.py#L68-L91 | train | Fetch a specified URL s content and output it to a file. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Memory_setPressureNotificationsSuppressed | def Memory_setPressureNotificationsSuppressed(self, suppressed):
"""
Function path: Memory.setPressureNotificationsSuppressed
Domain: Memory
Method name: setPressureNotificationsSuppressed
Parameters:
Required arguments:
'suppressed' (type: boolean) -> If true, memory pressure notifications wil... | python | def Memory_setPressureNotificationsSuppressed(self, suppressed):
"""
Function path: Memory.setPressureNotificationsSuppressed
Domain: Memory
Method name: setPressureNotificationsSuppressed
Parameters:
Required arguments:
'suppressed' (type: boolean) -> If true, memory pressure notifications wil... | [
"def",
"Memory_setPressureNotificationsSuppressed",
"(",
"self",
",",
"suppressed",
")",
":",
"assert",
"isinstance",
"(",
"suppressed",
",",
"(",
"bool",
",",
")",
")",
",",
"\"Argument 'suppressed' must be of type '['bool']'. Received type: '%s'\"",
"%",
"type",
"(",
... | Function path: Memory.setPressureNotificationsSuppressed
Domain: Memory
Method name: setPressureNotificationsSuppressed
Parameters:
Required arguments:
'suppressed' (type: boolean) -> If true, memory pressure notifications will be suppressed.
No return value.
Description: Enable/disable su... | [
"Function",
"path",
":",
"Memory",
".",
"setPressureNotificationsSuppressed",
"Domain",
":",
"Memory",
"Method",
"name",
":",
"setPressureNotificationsSuppressed",
"Parameters",
":",
"Required",
"arguments",
":",
"suppressed",
"(",
"type",
":",
"boolean",
")",
"-",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L66-L84 | train | This method is used to set the suppressed memory pressure notifications in all processes. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Page_addScriptToEvaluateOnLoad | def Page_addScriptToEvaluateOnLoad(self, scriptSource):
"""
Function path: Page.addScriptToEvaluateOnLoad
Domain: Page
Method name: addScriptToEvaluateOnLoad
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'scriptSource' (type: string) -> No description
... | python | def Page_addScriptToEvaluateOnLoad(self, scriptSource):
"""
Function path: Page.addScriptToEvaluateOnLoad
Domain: Page
Method name: addScriptToEvaluateOnLoad
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'scriptSource' (type: string) -> No description
... | [
"def",
"Page_addScriptToEvaluateOnLoad",
"(",
"self",
",",
"scriptSource",
")",
":",
"assert",
"isinstance",
"(",
"scriptSource",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'scriptSource' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"script... | Function path: Page.addScriptToEvaluateOnLoad
Domain: Page
Method name: addScriptToEvaluateOnLoad
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'scriptSource' (type: string) -> No description
Returns:
'identifier' (type: ScriptIdentifier) -> Identifie... | [
"Function",
"path",
":",
"Page",
".",
"addScriptToEvaluateOnLoad",
"Domain",
":",
"Page",
"Method",
"name",
":",
"addScriptToEvaluateOnLoad",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L169-L190 | train | This method is used to add a script to the page to evaluate on load. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Page_addScriptToEvaluateOnNewDocument | def Page_addScriptToEvaluateOnNewDocument(self, source):
"""
Function path: Page.addScriptToEvaluateOnNewDocument
Domain: Page
Method name: addScriptToEvaluateOnNewDocument
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'source' (type: string) -> No descr... | python | def Page_addScriptToEvaluateOnNewDocument(self, source):
"""
Function path: Page.addScriptToEvaluateOnNewDocument
Domain: Page
Method name: addScriptToEvaluateOnNewDocument
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'source' (type: string) -> No descr... | [
"def",
"Page_addScriptToEvaluateOnNewDocument",
"(",
"self",
",",
"source",
")",
":",
"assert",
"isinstance",
"(",
"source",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'source' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"source",
")",
... | Function path: Page.addScriptToEvaluateOnNewDocument
Domain: Page
Method name: addScriptToEvaluateOnNewDocument
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'source' (type: string) -> No description
Returns:
'identifier' (type: ScriptIdentifier) -> I... | [
"Function",
"path",
":",
"Page",
".",
"addScriptToEvaluateOnNewDocument",
"Domain",
":",
"Page",
"Method",
"name",
":",
"addScriptToEvaluateOnNewDocument",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"argumen... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L211-L232 | train | This method is used to add a script to the current document. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Page_setAutoAttachToCreatedPages | def Page_setAutoAttachToCreatedPages(self, autoAttach):
"""
Function path: Page.setAutoAttachToCreatedPages
Domain: Page
Method name: setAutoAttachToCreatedPages
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'autoAttach' (type: boolean) -> If true, brows... | python | def Page_setAutoAttachToCreatedPages(self, autoAttach):
"""
Function path: Page.setAutoAttachToCreatedPages
Domain: Page
Method name: setAutoAttachToCreatedPages
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'autoAttach' (type: boolean) -> If true, brows... | [
"def",
"Page_setAutoAttachToCreatedPages",
"(",
"self",
",",
"autoAttach",
")",
":",
"assert",
"isinstance",
"(",
"autoAttach",
",",
"(",
"bool",
",",
")",
")",
",",
"\"Argument 'autoAttach' must be of type '['bool']'. Received type: '%s'\"",
"%",
"type",
"(",
"autoAtta... | Function path: Page.setAutoAttachToCreatedPages
Domain: Page
Method name: setAutoAttachToCreatedPages
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'autoAttach' (type: boolean) -> If true, browser will open a new inspector window for every page created from ... | [
"Function",
"path",
":",
"Page",
".",
"setAutoAttachToCreatedPages",
"Domain",
":",
"Page",
"Method",
"name",
":",
"setAutoAttachToCreatedPages",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":"... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L253-L273 | train | This method sets autoAttach to created pages. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Page_setAdBlockingEnabled | def Page_setAdBlockingEnabled(self, enabled):
"""
Function path: Page.setAdBlockingEnabled
Domain: Page
Method name: setAdBlockingEnabled
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'enabled' (type: boolean) -> Whether to block ads.
No return value.... | python | def Page_setAdBlockingEnabled(self, enabled):
"""
Function path: Page.setAdBlockingEnabled
Domain: Page
Method name: setAdBlockingEnabled
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'enabled' (type: boolean) -> Whether to block ads.
No return value.... | [
"def",
"Page_setAdBlockingEnabled",
"(",
"self",
",",
"enabled",
")",
":",
"assert",
"isinstance",
"(",
"enabled",
",",
"(",
"bool",
",",
")",
")",
",",
"\"Argument 'enabled' must be of type '['bool']'. Received type: '%s'\"",
"%",
"type",
"(",
"enabled",
")",
"subd... | Function path: Page.setAdBlockingEnabled
Domain: Page
Method name: setAdBlockingEnabled
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'enabled' (type: boolean) -> Whether to block ads.
No return value.
Description: Enable Chrome's experimental ad fi... | [
"Function",
"path",
":",
"Page",
".",
"setAdBlockingEnabled",
"Domain",
":",
"Page",
"Method",
"name",
":",
"setAdBlockingEnabled",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"enabled",... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L304-L324 | train | This method is used to enable or disable experimental ad filter on all sites. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Page_navigateToHistoryEntry | def Page_navigateToHistoryEntry(self, entryId):
"""
Function path: Page.navigateToHistoryEntry
Domain: Page
Method name: navigateToHistoryEntry
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'entryId' (type: integer) -> Unique id of the entry to navigate ... | python | def Page_navigateToHistoryEntry(self, entryId):
"""
Function path: Page.navigateToHistoryEntry
Domain: Page
Method name: navigateToHistoryEntry
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'entryId' (type: integer) -> Unique id of the entry to navigate ... | [
"def",
"Page_navigateToHistoryEntry",
"(",
"self",
",",
"entryId",
")",
":",
"assert",
"isinstance",
"(",
"entryId",
",",
"(",
"int",
",",
")",
")",
",",
"\"Argument 'entryId' must be of type '['int']'. Received type: '%s'\"",
"%",
"type",
"(",
"entryId",
")",
"subd... | Function path: Page.navigateToHistoryEntry
Domain: Page
Method name: navigateToHistoryEntry
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'entryId' (type: integer) -> Unique id of the entry to navigate to.
No return value.
Description: Navigates cur... | [
"Function",
"path",
":",
"Page",
".",
"navigateToHistoryEntry",
"Domain",
":",
"Page",
"Method",
"name",
":",
"navigateToHistoryEntry",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"entry... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L389-L409 | train | This method is used to navigate to the given history entry. It returns a subdom function that returns the result of the operation. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Page_deleteCookie | def Page_deleteCookie(self, cookieName, url):
"""
Function path: Page.deleteCookie
Domain: Page
Method name: deleteCookie
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'cookieName' (type: string) -> Name of the cookie to remove.
'url' (type: string)... | python | def Page_deleteCookie(self, cookieName, url):
"""
Function path: Page.deleteCookie
Domain: Page
Method name: deleteCookie
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'cookieName' (type: string) -> Name of the cookie to remove.
'url' (type: string)... | [
"def",
"Page_deleteCookie",
"(",
"self",
",",
"cookieName",
",",
"url",
")",
":",
"assert",
"isinstance",
"(",
"cookieName",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'cookieName' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"cookieNam... | Function path: Page.deleteCookie
Domain: Page
Method name: deleteCookie
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'cookieName' (type: string) -> Name of the cookie to remove.
'url' (type: string) -> URL to match cooke domain and path.
No return v... | [
"Function",
"path",
":",
"Page",
".",
"deleteCookie",
"Domain",
":",
"Page",
"Method",
"name",
":",
"deleteCookie",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"cookieName",
"(",
"ty... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L427-L451 | train | Page. deleteCookie - Deletes a browser cookie with given name domain and path. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Page_getResourceContent | def Page_getResourceContent(self, frameId, url):
"""
Function path: Page.getResourceContent
Domain: Page
Method name: getResourceContent
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'frameId' (type: FrameId) -> Frame id to get resource for.
'url' (... | python | def Page_getResourceContent(self, frameId, url):
"""
Function path: Page.getResourceContent
Domain: Page
Method name: getResourceContent
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'frameId' (type: FrameId) -> Frame id to get resource for.
'url' (... | [
"def",
"Page_getResourceContent",
"(",
"self",
",",
"frameId",
",",
"url",
")",
":",
"assert",
"isinstance",
"(",
"url",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'url' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"url",
")",
"subd... | Function path: Page.getResourceContent
Domain: Page
Method name: getResourceContent
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'frameId' (type: FrameId) -> Frame id to get resource for.
'url' (type: string) -> URL of the resource to get content for.
... | [
"Function",
"path",
":",
"Page",
".",
"getResourceContent",
"Domain",
":",
"Page",
"Method",
"name",
":",
"getResourceContent",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"frameId",
"... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L469-L492 | train | Page. getResourceContent |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Page_searchInResource | def Page_searchInResource(self, frameId, url, query, **kwargs):
"""
Function path: Page.searchInResource
Domain: Page
Method name: searchInResource
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'frameId' (type: FrameId) -> Frame id for resource to search... | python | def Page_searchInResource(self, frameId, url, query, **kwargs):
"""
Function path: Page.searchInResource
Domain: Page
Method name: searchInResource
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'frameId' (type: FrameId) -> Frame id for resource to search... | [
"def",
"Page_searchInResource",
"(",
"self",
",",
"frameId",
",",
"url",
",",
"query",
",",
"*",
"*",
"kwargs",
")",
":",
"assert",
"isinstance",
"(",
"url",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'url' must be of type '['str']'. Received type: '%s'\""... | Function path: Page.searchInResource
Domain: Page
Method name: searchInResource
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'frameId' (type: FrameId) -> Frame id for resource to search in.
'url' (type: string) -> URL of the resource to search in.
... | [
"Function",
"path",
":",
"Page",
".",
"searchInResource",
"Domain",
":",
"Page",
"Method",
"name",
":",
"searchInResource",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"frameId",
"(",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L494-L535 | train | Page. searchInResource method. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Page_setDocumentContent | def Page_setDocumentContent(self, frameId, html):
"""
Function path: Page.setDocumentContent
Domain: Page
Method name: setDocumentContent
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'frameId' (type: FrameId) -> Frame id to set HTML for.
'html' (ty... | python | def Page_setDocumentContent(self, frameId, html):
"""
Function path: Page.setDocumentContent
Domain: Page
Method name: setDocumentContent
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'frameId' (type: FrameId) -> Frame id to set HTML for.
'html' (ty... | [
"def",
"Page_setDocumentContent",
"(",
"self",
",",
"frameId",
",",
"html",
")",
":",
"assert",
"isinstance",
"(",
"html",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'html' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"html",
")",
"... | Function path: Page.setDocumentContent
Domain: Page
Method name: setDocumentContent
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'frameId' (type: FrameId) -> Frame id to set HTML for.
'html' (type: string) -> HTML content to set.
No return value.
... | [
"Function",
"path",
":",
"Page",
".",
"setDocumentContent",
"Domain",
":",
"Page",
"Method",
"name",
":",
"setDocumentContent",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"frameId",
"... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L537-L558 | train | Page. setDocumentContent - Sets given markup as the document s HTML. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Page_setDeviceMetricsOverride | def Page_setDeviceMetricsOverride(self, width, height, deviceScaleFactor,
mobile, **kwargs):
"""
Function path: Page.setDeviceMetricsOverride
Domain: Page
Method name: setDeviceMetricsOverride
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'width' (t... | python | def Page_setDeviceMetricsOverride(self, width, height, deviceScaleFactor,
mobile, **kwargs):
"""
Function path: Page.setDeviceMetricsOverride
Domain: Page
Method name: setDeviceMetricsOverride
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'width' (t... | [
"def",
"Page_setDeviceMetricsOverride",
"(",
"self",
",",
"width",
",",
"height",
",",
"deviceScaleFactor",
",",
"mobile",
",",
"*",
"*",
"kwargs",
")",
":",
"assert",
"isinstance",
"(",
"width",
",",
"(",
"int",
",",
")",
")",
",",
"\"Argument 'width' must ... | Function path: Page.setDeviceMetricsOverride
Domain: Page
Method name: setDeviceMetricsOverride
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'width' (type: integer) -> Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override.
... | [
"Function",
"path",
":",
"Page",
".",
"setDeviceMetricsOverride",
"Domain",
":",
"Page",
"Method",
"name",
":",
"setDeviceMetricsOverride",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"w... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L560-L631 | train | Page. setDeviceMetricsOverride - Sets the device screen dimensions and scale factor of the resulting view image. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Page_setDeviceOrientationOverride | def Page_setDeviceOrientationOverride(self, alpha, beta, gamma):
"""
Function path: Page.setDeviceOrientationOverride
Domain: Page
Method name: setDeviceOrientationOverride
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'alpha' (type: number) -> Mock alph... | python | def Page_setDeviceOrientationOverride(self, alpha, beta, gamma):
"""
Function path: Page.setDeviceOrientationOverride
Domain: Page
Method name: setDeviceOrientationOverride
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'alpha' (type: number) -> Mock alph... | [
"def",
"Page_setDeviceOrientationOverride",
"(",
"self",
",",
"alpha",
",",
"beta",
",",
"gamma",
")",
":",
"assert",
"isinstance",
"(",
"alpha",
",",
"(",
"float",
",",
"int",
")",
")",
",",
"\"Argument 'alpha' must be of type '['float', 'int']'. Received type: '%s'\... | Function path: Page.setDeviceOrientationOverride
Domain: Page
Method name: setDeviceOrientationOverride
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'alpha' (type: number) -> Mock alpha
'beta' (type: number) -> Mock beta
'gamma' (type: number) -> ... | [
"Function",
"path",
":",
"Page",
".",
"setDeviceOrientationOverride",
"Domain",
":",
"Page",
"Method",
"name",
":",
"setDeviceOrientationOverride",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
"... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L696-L724 | train | Page. setDeviceOrientationOverride - Allows you to override the Device Orientation. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Page_screencastFrameAck | def Page_screencastFrameAck(self, sessionId):
"""
Function path: Page.screencastFrameAck
Domain: Page
Method name: screencastFrameAck
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'sessionId' (type: integer) -> Frame number.
No return value.
Des... | python | def Page_screencastFrameAck(self, sessionId):
"""
Function path: Page.screencastFrameAck
Domain: Page
Method name: screencastFrameAck
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'sessionId' (type: integer) -> Frame number.
No return value.
Des... | [
"def",
"Page_screencastFrameAck",
"(",
"self",
",",
"sessionId",
")",
":",
"assert",
"isinstance",
"(",
"sessionId",
",",
"(",
"int",
",",
")",
")",
",",
"\"Argument 'sessionId' must be of type '['int']'. Received type: '%s'\"",
"%",
"type",
"(",
"sessionId",
")",
"... | Function path: Page.screencastFrameAck
Domain: Page
Method name: screencastFrameAck
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'sessionId' (type: integer) -> Frame number.
No return value.
Description: Acknowledges that a screencast frame has bee... | [
"Function",
"path",
":",
"Page",
".",
"screencastFrameAck",
"Domain",
":",
"Page",
"Method",
"name",
":",
"screencastFrameAck",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"sessionId",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L957-L977 | train | This method is used to acknowledge a screencast frame received by the frontend. This method is used to acknowledge a screencast frame received by the frontend. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Overlay_setShowPaintRects | def Overlay_setShowPaintRects(self, result):
"""
Function path: Overlay.setShowPaintRects
Domain: Overlay
Method name: setShowPaintRects
Parameters:
Required arguments:
'result' (type: boolean) -> True for showing paint rectangles
No return value.
Description: Requests that backend sho... | python | def Overlay_setShowPaintRects(self, result):
"""
Function path: Overlay.setShowPaintRects
Domain: Overlay
Method name: setShowPaintRects
Parameters:
Required arguments:
'result' (type: boolean) -> True for showing paint rectangles
No return value.
Description: Requests that backend sho... | [
"def",
"Overlay_setShowPaintRects",
"(",
"self",
",",
"result",
")",
":",
"assert",
"isinstance",
"(",
"result",
",",
"(",
"bool",
",",
")",
")",
",",
"\"Argument 'result' must be of type '['bool']'. Received type: '%s'\"",
"%",
"type",
"(",
"result",
")",
"subdom_f... | Function path: Overlay.setShowPaintRects
Domain: Overlay
Method name: setShowPaintRects
Parameters:
Required arguments:
'result' (type: boolean) -> True for showing paint rectangles
No return value.
Description: Requests that backend shows paint rectangles | [
"Function",
"path",
":",
"Overlay",
".",
"setShowPaintRects",
"Domain",
":",
"Overlay",
"Method",
"name",
":",
"setShowPaintRects",
"Parameters",
":",
"Required",
"arguments",
":",
"result",
"(",
"type",
":",
"boolean",
")",
"-",
">",
"True",
"for",
"showing",... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1164-L1182 | train | This method is used to set the show paint rectangles on the overlay. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Overlay_setShowDebugBorders | def Overlay_setShowDebugBorders(self, show):
"""
Function path: Overlay.setShowDebugBorders
Domain: Overlay
Method name: setShowDebugBorders
Parameters:
Required arguments:
'show' (type: boolean) -> True for showing debug borders
No return value.
Description: Requests that backend show... | python | def Overlay_setShowDebugBorders(self, show):
"""
Function path: Overlay.setShowDebugBorders
Domain: Overlay
Method name: setShowDebugBorders
Parameters:
Required arguments:
'show' (type: boolean) -> True for showing debug borders
No return value.
Description: Requests that backend show... | [
"def",
"Overlay_setShowDebugBorders",
"(",
"self",
",",
"show",
")",
":",
"assert",
"isinstance",
"(",
"show",
",",
"(",
"bool",
",",
")",
")",
",",
"\"Argument 'show' must be of type '['bool']'. Received type: '%s'\"",
"%",
"type",
"(",
"show",
")",
"subdom_funcs",... | Function path: Overlay.setShowDebugBorders
Domain: Overlay
Method name: setShowDebugBorders
Parameters:
Required arguments:
'show' (type: boolean) -> True for showing debug borders
No return value.
Description: Requests that backend shows debug borders on layers | [
"Function",
"path",
":",
"Overlay",
".",
"setShowDebugBorders",
"Domain",
":",
"Overlay",
"Method",
"name",
":",
"setShowDebugBorders",
"Parameters",
":",
"Required",
"arguments",
":",
"show",
"(",
"type",
":",
"boolean",
")",
"-",
">",
"True",
"for",
"showing... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1184-L1202 | train | This method allows the backend to set the show debug borders on layers. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Overlay_setShowFPSCounter | def Overlay_setShowFPSCounter(self, show):
"""
Function path: Overlay.setShowFPSCounter
Domain: Overlay
Method name: setShowFPSCounter
Parameters:
Required arguments:
'show' (type: boolean) -> True for showing the FPS counter
No return value.
Description: Requests that backend shows th... | python | def Overlay_setShowFPSCounter(self, show):
"""
Function path: Overlay.setShowFPSCounter
Domain: Overlay
Method name: setShowFPSCounter
Parameters:
Required arguments:
'show' (type: boolean) -> True for showing the FPS counter
No return value.
Description: Requests that backend shows th... | [
"def",
"Overlay_setShowFPSCounter",
"(",
"self",
",",
"show",
")",
":",
"assert",
"isinstance",
"(",
"show",
",",
"(",
"bool",
",",
")",
")",
",",
"\"Argument 'show' must be of type '['bool']'. Received type: '%s'\"",
"%",
"type",
"(",
"show",
")",
"subdom_funcs",
... | Function path: Overlay.setShowFPSCounter
Domain: Overlay
Method name: setShowFPSCounter
Parameters:
Required arguments:
'show' (type: boolean) -> True for showing the FPS counter
No return value.
Description: Requests that backend shows the FPS counter | [
"Function",
"path",
":",
"Overlay",
".",
"setShowFPSCounter",
"Domain",
":",
"Overlay",
"Method",
"name",
":",
"setShowFPSCounter",
"Parameters",
":",
"Required",
"arguments",
":",
"show",
"(",
"type",
":",
"boolean",
")",
"-",
">",
"True",
"for",
"showing",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1204-L1222 | train | This method is used to set the show flag on the FPS counter. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Overlay_setShowScrollBottleneckRects | def Overlay_setShowScrollBottleneckRects(self, show):
"""
Function path: Overlay.setShowScrollBottleneckRects
Domain: Overlay
Method name: setShowScrollBottleneckRects
Parameters:
Required arguments:
'show' (type: boolean) -> True for showing scroll bottleneck rects
No return value.
De... | python | def Overlay_setShowScrollBottleneckRects(self, show):
"""
Function path: Overlay.setShowScrollBottleneckRects
Domain: Overlay
Method name: setShowScrollBottleneckRects
Parameters:
Required arguments:
'show' (type: boolean) -> True for showing scroll bottleneck rects
No return value.
De... | [
"def",
"Overlay_setShowScrollBottleneckRects",
"(",
"self",
",",
"show",
")",
":",
"assert",
"isinstance",
"(",
"show",
",",
"(",
"bool",
",",
")",
")",
",",
"\"Argument 'show' must be of type '['bool']'. Received type: '%s'\"",
"%",
"type",
"(",
"show",
")",
"subdo... | Function path: Overlay.setShowScrollBottleneckRects
Domain: Overlay
Method name: setShowScrollBottleneckRects
Parameters:
Required arguments:
'show' (type: boolean) -> True for showing scroll bottleneck rects
No return value.
Description: Requests that backend shows scroll bottleneck rects | [
"Function",
"path",
":",
"Overlay",
".",
"setShowScrollBottleneckRects",
"Domain",
":",
"Overlay",
"Method",
"name",
":",
"setShowScrollBottleneckRects",
"Parameters",
":",
"Required",
"arguments",
":",
"show",
"(",
"type",
":",
"boolean",
")",
"-",
">",
"True",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1224-L1242 | train | This method allows the backend to change the scroll bottleneck rects in the overlay. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Overlay_setShowViewportSizeOnResize | def Overlay_setShowViewportSizeOnResize(self, show):
"""
Function path: Overlay.setShowViewportSizeOnResize
Domain: Overlay
Method name: setShowViewportSizeOnResize
Parameters:
Required arguments:
'show' (type: boolean) -> Whether to paint size or not.
No return value.
Description: Pai... | python | def Overlay_setShowViewportSizeOnResize(self, show):
"""
Function path: Overlay.setShowViewportSizeOnResize
Domain: Overlay
Method name: setShowViewportSizeOnResize
Parameters:
Required arguments:
'show' (type: boolean) -> Whether to paint size or not.
No return value.
Description: Pai... | [
"def",
"Overlay_setShowViewportSizeOnResize",
"(",
"self",
",",
"show",
")",
":",
"assert",
"isinstance",
"(",
"show",
",",
"(",
"bool",
",",
")",
")",
",",
"\"Argument 'show' must be of type '['bool']'. Received type: '%s'\"",
"%",
"type",
"(",
"show",
")",
"subdom... | Function path: Overlay.setShowViewportSizeOnResize
Domain: Overlay
Method name: setShowViewportSizeOnResize
Parameters:
Required arguments:
'show' (type: boolean) -> Whether to paint size or not.
No return value.
Description: Paints viewport size upon main frame resize. | [
"Function",
"path",
":",
"Overlay",
".",
"setShowViewportSizeOnResize",
"Domain",
":",
"Overlay",
"Method",
"name",
":",
"setShowViewportSizeOnResize",
"Parameters",
":",
"Required",
"arguments",
":",
"show",
"(",
"type",
":",
"boolean",
")",
"-",
">",
"Whether",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1244-L1262 | train | This command is used to set the viewport size on resize. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Overlay_setSuspended | def Overlay_setSuspended(self, suspended):
"""
Function path: Overlay.setSuspended
Domain: Overlay
Method name: setSuspended
Parameters:
Required arguments:
'suspended' (type: boolean) -> Whether overlay should be suspended and not consume any resources until resumed.
No return value.
"... | python | def Overlay_setSuspended(self, suspended):
"""
Function path: Overlay.setSuspended
Domain: Overlay
Method name: setSuspended
Parameters:
Required arguments:
'suspended' (type: boolean) -> Whether overlay should be suspended and not consume any resources until resumed.
No return value.
"... | [
"def",
"Overlay_setSuspended",
"(",
"self",
",",
"suspended",
")",
":",
"assert",
"isinstance",
"(",
"suspended",
",",
"(",
"bool",
",",
")",
")",
",",
"\"Argument 'suspended' must be of type '['bool']'. Received type: '%s'\"",
"%",
"type",
"(",
"suspended",
")",
"s... | Function path: Overlay.setSuspended
Domain: Overlay
Method name: setSuspended
Parameters:
Required arguments:
'suspended' (type: boolean) -> Whether overlay should be suspended and not consume any resources until resumed.
No return value. | [
"Function",
"path",
":",
"Overlay",
".",
"setSuspended",
"Domain",
":",
"Overlay",
"Method",
"name",
":",
"setSuspended",
"Parameters",
":",
"Required",
"arguments",
":",
"suspended",
"(",
"type",
":",
"boolean",
")",
"-",
">",
"Whether",
"overlay",
"should",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1288-L1305 | train | This method is used to set the suspended flag of the overlay. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Overlay_setInspectMode | def Overlay_setInspectMode(self, mode, **kwargs):
"""
Function path: Overlay.setInspectMode
Domain: Overlay
Method name: setInspectMode
Parameters:
Required arguments:
'mode' (type: InspectMode) -> Set an inspection mode.
Optional arguments:
'highlightConfig' (type: HighlightConfig) ->... | python | def Overlay_setInspectMode(self, mode, **kwargs):
"""
Function path: Overlay.setInspectMode
Domain: Overlay
Method name: setInspectMode
Parameters:
Required arguments:
'mode' (type: InspectMode) -> Set an inspection mode.
Optional arguments:
'highlightConfig' (type: HighlightConfig) ->... | [
"def",
"Overlay_setInspectMode",
"(",
"self",
",",
"mode",
",",
"*",
"*",
"kwargs",
")",
":",
"expected",
"=",
"[",
"'highlightConfig'",
"]",
"passed_keys",
"=",
"list",
"(",
"kwargs",
".",
"keys",
"(",
")",
")",
"assert",
"all",
"(",
"[",
"(",
"key",
... | Function path: Overlay.setInspectMode
Domain: Overlay
Method name: setInspectMode
Parameters:
Required arguments:
'mode' (type: InspectMode) -> Set an inspection mode.
Optional arguments:
'highlightConfig' (type: HighlightConfig) -> A descriptor for the highlight appearance of hovered-over... | [
"Function",
"path",
":",
"Overlay",
".",
"setInspectMode",
"Domain",
":",
"Overlay",
"Method",
"name",
":",
"setInspectMode",
"Parameters",
":",
"Required",
"arguments",
":",
"mode",
"(",
"type",
":",
"InspectMode",
")",
"-",
">",
"Set",
"an",
"inspection",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1307-L1328 | train | This method sets the inspector mode. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Overlay_highlightRect | def Overlay_highlightRect(self, x, y, width, height, **kwargs):
"""
Function path: Overlay.highlightRect
Domain: Overlay
Method name: highlightRect
Parameters:
Required arguments:
'x' (type: integer) -> X coordinate
'y' (type: integer) -> Y coordinate
'width' (type: integer) -> Rectan... | python | def Overlay_highlightRect(self, x, y, width, height, **kwargs):
"""
Function path: Overlay.highlightRect
Domain: Overlay
Method name: highlightRect
Parameters:
Required arguments:
'x' (type: integer) -> X coordinate
'y' (type: integer) -> Y coordinate
'width' (type: integer) -> Rectan... | [
"def",
"Overlay_highlightRect",
"(",
"self",
",",
"x",
",",
"y",
",",
"width",
",",
"height",
",",
"*",
"*",
"kwargs",
")",
":",
"assert",
"isinstance",
"(",
"x",
",",
"(",
"int",
",",
")",
")",
",",
"\"Argument 'x' must be of type '['int']'. Received type: ... | Function path: Overlay.highlightRect
Domain: Overlay
Method name: highlightRect
Parameters:
Required arguments:
'x' (type: integer) -> X coordinate
'y' (type: integer) -> Y coordinate
'width' (type: integer) -> Rectangle width
'height' (type: integer) -> Rectangle height
Optional... | [
"Function",
"path",
":",
"Overlay",
".",
"highlightRect",
"Domain",
":",
"Overlay",
"Method",
"name",
":",
"highlightRect",
"Parameters",
":",
"Required",
"arguments",
":",
"x",
"(",
"type",
":",
"integer",
")",
"-",
">",
"X",
"coordinate",
"y",
"(",
"type... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1330-L1367 | train | This method is used to highlight a rectangle in the main frame. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Overlay_highlightQuad | def Overlay_highlightQuad(self, quad, **kwargs):
"""
Function path: Overlay.highlightQuad
Domain: Overlay
Method name: highlightQuad
Parameters:
Required arguments:
'quad' (type: DOM.Quad) -> Quad to highlight
Optional arguments:
'color' (type: DOM.RGBA) -> The highlight fill color (de... | python | def Overlay_highlightQuad(self, quad, **kwargs):
"""
Function path: Overlay.highlightQuad
Domain: Overlay
Method name: highlightQuad
Parameters:
Required arguments:
'quad' (type: DOM.Quad) -> Quad to highlight
Optional arguments:
'color' (type: DOM.RGBA) -> The highlight fill color (de... | [
"def",
"Overlay_highlightQuad",
"(",
"self",
",",
"quad",
",",
"*",
"*",
"kwargs",
")",
":",
"expected",
"=",
"[",
"'color'",
",",
"'outlineColor'",
"]",
"passed_keys",
"=",
"list",
"(",
"kwargs",
".",
"keys",
"(",
")",
")",
"assert",
"all",
"(",
"[",
... | Function path: Overlay.highlightQuad
Domain: Overlay
Method name: highlightQuad
Parameters:
Required arguments:
'quad' (type: DOM.Quad) -> Quad to highlight
Optional arguments:
'color' (type: DOM.RGBA) -> The highlight fill color (default: transparent).
'outlineColor' (type: DOM.RGBA)... | [
"Function",
"path",
":",
"Overlay",
".",
"highlightQuad",
"Domain",
":",
"Overlay",
"Method",
"name",
":",
"highlightQuad",
"Parameters",
":",
"Required",
"arguments",
":",
"quad",
"(",
"type",
":",
"DOM",
".",
"Quad",
")",
"-",
">",
"Quad",
"to",
"highlig... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1369-L1391 | train | This command is used to highlight a given quad. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Overlay_highlightNode | def Overlay_highlightNode(self, highlightConfig, **kwargs):
"""
Function path: Overlay.highlightNode
Domain: Overlay
Method name: highlightNode
Parameters:
Required arguments:
'highlightConfig' (type: HighlightConfig) -> A descriptor for the highlight appearance.
Optional arguments:
'n... | python | def Overlay_highlightNode(self, highlightConfig, **kwargs):
"""
Function path: Overlay.highlightNode
Domain: Overlay
Method name: highlightNode
Parameters:
Required arguments:
'highlightConfig' (type: HighlightConfig) -> A descriptor for the highlight appearance.
Optional arguments:
'n... | [
"def",
"Overlay_highlightNode",
"(",
"self",
",",
"highlightConfig",
",",
"*",
"*",
"kwargs",
")",
":",
"expected",
"=",
"[",
"'nodeId'",
",",
"'backendNodeId'",
",",
"'objectId'",
"]",
"passed_keys",
"=",
"list",
"(",
"kwargs",
".",
"keys",
"(",
")",
")",... | Function path: Overlay.highlightNode
Domain: Overlay
Method name: highlightNode
Parameters:
Required arguments:
'highlightConfig' (type: HighlightConfig) -> A descriptor for the highlight appearance.
Optional arguments:
'nodeId' (type: DOM.NodeId) -> Identifier of the node to highlight.
... | [
"Function",
"path",
":",
"Overlay",
".",
"highlightNode",
"Domain",
":",
"Overlay",
"Method",
"name",
":",
"highlightNode",
"Parameters",
":",
"Required",
"arguments",
":",
"highlightConfig",
"(",
"type",
":",
"HighlightConfig",
")",
"-",
">",
"A",
"descriptor",... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1393-L1416 | train | This method is used to highlight a node in the overlay. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Overlay_highlightFrame | def Overlay_highlightFrame(self, frameId, **kwargs):
"""
Function path: Overlay.highlightFrame
Domain: Overlay
Method name: highlightFrame
Parameters:
Required arguments:
'frameId' (type: Page.FrameId) -> Identifier of the frame to highlight.
Optional arguments:
'contentColor' (type: D... | python | def Overlay_highlightFrame(self, frameId, **kwargs):
"""
Function path: Overlay.highlightFrame
Domain: Overlay
Method name: highlightFrame
Parameters:
Required arguments:
'frameId' (type: Page.FrameId) -> Identifier of the frame to highlight.
Optional arguments:
'contentColor' (type: D... | [
"def",
"Overlay_highlightFrame",
"(",
"self",
",",
"frameId",
",",
"*",
"*",
"kwargs",
")",
":",
"expected",
"=",
"[",
"'contentColor'",
",",
"'contentOutlineColor'",
"]",
"passed_keys",
"=",
"list",
"(",
"kwargs",
".",
"keys",
"(",
")",
")",
"assert",
"al... | Function path: Overlay.highlightFrame
Domain: Overlay
Method name: highlightFrame
Parameters:
Required arguments:
'frameId' (type: Page.FrameId) -> Identifier of the frame to highlight.
Optional arguments:
'contentColor' (type: DOM.RGBA) -> The content box highlight fill color (default: tr... | [
"Function",
"path",
":",
"Overlay",
".",
"highlightFrame",
"Domain",
":",
"Overlay",
"Method",
"name",
":",
"highlightFrame",
"Parameters",
":",
"Required",
"arguments",
":",
"frameId",
"(",
"type",
":",
"Page",
".",
"FrameId",
")",
"-",
">",
"Identifier",
"... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1418-L1440 | train | This command is used to highlight the owner element of a frame. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Emulation_setPageScaleFactor | def Emulation_setPageScaleFactor(self, pageScaleFactor):
"""
Function path: Emulation.setPageScaleFactor
Domain: Emulation
Method name: setPageScaleFactor
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'pageScaleFactor' (type: number) -> Page scale factor... | python | def Emulation_setPageScaleFactor(self, pageScaleFactor):
"""
Function path: Emulation.setPageScaleFactor
Domain: Emulation
Method name: setPageScaleFactor
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'pageScaleFactor' (type: number) -> Page scale factor... | [
"def",
"Emulation_setPageScaleFactor",
"(",
"self",
",",
"pageScaleFactor",
")",
":",
"assert",
"isinstance",
"(",
"pageScaleFactor",
",",
"(",
"float",
",",
"int",
")",
")",
",",
"\"Argument 'pageScaleFactor' must be of type '['float', 'int']'. Received type: '%s'\"",
"%",... | Function path: Emulation.setPageScaleFactor
Domain: Emulation
Method name: setPageScaleFactor
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'pageScaleFactor' (type: number) -> Page scale factor.
No return value.
Description: Sets a specified page sc... | [
"Function",
"path",
":",
"Emulation",
".",
"setPageScaleFactor",
"Domain",
":",
"Emulation",
"Method",
"name",
":",
"setPageScaleFactor",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"pag... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1573-L1593 | train | This command sets the page scale factor. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Emulation_setVisibleSize | def Emulation_setVisibleSize(self, width, height):
"""
Function path: Emulation.setVisibleSize
Domain: Emulation
Method name: setVisibleSize
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'width' (type: integer) -> Frame width (DIP).
'height' (type: ... | python | def Emulation_setVisibleSize(self, width, height):
"""
Function path: Emulation.setVisibleSize
Domain: Emulation
Method name: setVisibleSize
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'width' (type: integer) -> Frame width (DIP).
'height' (type: ... | [
"def",
"Emulation_setVisibleSize",
"(",
"self",
",",
"width",
",",
"height",
")",
":",
"assert",
"isinstance",
"(",
"width",
",",
"(",
"int",
",",
")",
")",
",",
"\"Argument 'width' must be of type '['int']'. Received type: '%s'\"",
"%",
"type",
"(",
"width",
")",... | Function path: Emulation.setVisibleSize
Domain: Emulation
Method name: setVisibleSize
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'width' (type: integer) -> Frame width (DIP).
'height' (type: integer) -> Frame height (DIP).
No return value.
D... | [
"Function",
"path",
":",
"Emulation",
".",
"setVisibleSize",
"Domain",
":",
"Emulation",
"Method",
"name",
":",
"setVisibleSize",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"width",
"... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1595-L1619 | train | Emulation. setVisibleSize - Resizes the frame viewport of the page. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Emulation_setScriptExecutionDisabled | def Emulation_setScriptExecutionDisabled(self, value):
"""
Function path: Emulation.setScriptExecutionDisabled
Domain: Emulation
Method name: setScriptExecutionDisabled
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'value' (type: boolean) -> Whether scri... | python | def Emulation_setScriptExecutionDisabled(self, value):
"""
Function path: Emulation.setScriptExecutionDisabled
Domain: Emulation
Method name: setScriptExecutionDisabled
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'value' (type: boolean) -> Whether scri... | [
"def",
"Emulation_setScriptExecutionDisabled",
"(",
"self",
",",
"value",
")",
":",
"assert",
"isinstance",
"(",
"value",
",",
"(",
"bool",
",",
")",
")",
",",
"\"Argument 'value' must be of type '['bool']'. Received type: '%s'\"",
"%",
"type",
"(",
"value",
")",
"s... | Function path: Emulation.setScriptExecutionDisabled
Domain: Emulation
Method name: setScriptExecutionDisabled
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'value' (type: boolean) -> Whether script execution should be disabled in the page.
No return value... | [
"Function",
"path",
":",
"Emulation",
".",
"setScriptExecutionDisabled",
"Domain",
":",
"Emulation",
"Method",
"name",
":",
"setScriptExecutionDisabled",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1621-L1641 | train | This function is used to set whether script execution should be disabled in the page. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Emulation_setEmulatedMedia | def Emulation_setEmulatedMedia(self, media):
"""
Function path: Emulation.setEmulatedMedia
Domain: Emulation
Method name: setEmulatedMedia
Parameters:
Required arguments:
'media' (type: string) -> Media type to emulate. Empty string disables the override.
No return value.
Description: ... | python | def Emulation_setEmulatedMedia(self, media):
"""
Function path: Emulation.setEmulatedMedia
Domain: Emulation
Method name: setEmulatedMedia
Parameters:
Required arguments:
'media' (type: string) -> Media type to emulate. Empty string disables the override.
No return value.
Description: ... | [
"def",
"Emulation_setEmulatedMedia",
"(",
"self",
",",
"media",
")",
":",
"assert",
"isinstance",
"(",
"media",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'media' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"media",
")",
"subdom_funcs"... | Function path: Emulation.setEmulatedMedia
Domain: Emulation
Method name: setEmulatedMedia
Parameters:
Required arguments:
'media' (type: string) -> Media type to emulate. Empty string disables the override.
No return value.
Description: Emulates the given media for CSS media queries. | [
"Function",
"path",
":",
"Emulation",
".",
"setEmulatedMedia",
"Domain",
":",
"Emulation",
"Method",
"name",
":",
"setEmulatedMedia",
"Parameters",
":",
"Required",
"arguments",
":",
"media",
"(",
"type",
":",
"string",
")",
"-",
">",
"Media",
"type",
"to",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1756-L1774 | train | Emulate the given media for CSS media queries. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Emulation_setCPUThrottlingRate | def Emulation_setCPUThrottlingRate(self, rate):
"""
Function path: Emulation.setCPUThrottlingRate
Domain: Emulation
Method name: setCPUThrottlingRate
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'rate' (type: number) -> Throttling rate as a slowdown fac... | python | def Emulation_setCPUThrottlingRate(self, rate):
"""
Function path: Emulation.setCPUThrottlingRate
Domain: Emulation
Method name: setCPUThrottlingRate
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'rate' (type: number) -> Throttling rate as a slowdown fac... | [
"def",
"Emulation_setCPUThrottlingRate",
"(",
"self",
",",
"rate",
")",
":",
"assert",
"isinstance",
"(",
"rate",
",",
"(",
"float",
",",
"int",
")",
")",
",",
"\"Argument 'rate' must be of type '['float', 'int']'. Received type: '%s'\"",
"%",
"type",
"(",
"rate",
"... | Function path: Emulation.setCPUThrottlingRate
Domain: Emulation
Method name: setCPUThrottlingRate
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'rate' (type: number) -> Throttling rate as a slowdown factor (1 is no throttle, 2 is 2x slowdown, etc).
No ret... | [
"Function",
"path",
":",
"Emulation",
".",
"setCPUThrottlingRate",
"Domain",
":",
"Emulation",
"Method",
"name",
":",
"setCPUThrottlingRate",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1776-L1796 | train | This function sets the CPU throttling rate. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Emulation_setVirtualTimePolicy | def Emulation_setVirtualTimePolicy(self, policy, **kwargs):
"""
Function path: Emulation.setVirtualTimePolicy
Domain: Emulation
Method name: setVirtualTimePolicy
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'policy' (type: VirtualTimePolicy) -> No descr... | python | def Emulation_setVirtualTimePolicy(self, policy, **kwargs):
"""
Function path: Emulation.setVirtualTimePolicy
Domain: Emulation
Method name: setVirtualTimePolicy
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'policy' (type: VirtualTimePolicy) -> No descr... | [
"def",
"Emulation_setVirtualTimePolicy",
"(",
"self",
",",
"policy",
",",
"*",
"*",
"kwargs",
")",
":",
"if",
"'budget'",
"in",
"kwargs",
":",
"assert",
"isinstance",
"(",
"kwargs",
"[",
"'budget'",
"]",
",",
"(",
"int",
",",
")",
")",
",",
"\"Optional a... | Function path: Emulation.setVirtualTimePolicy
Domain: Emulation
Method name: setVirtualTimePolicy
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'policy' (type: VirtualTimePolicy) -> No description
Optional arguments:
'budget' (type: integer) -> If s... | [
"Function",
"path",
":",
"Emulation",
".",
"setVirtualTimePolicy",
"Domain",
":",
"Emulation",
"Method",
"name",
":",
"setVirtualTimePolicy",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1814-L1841 | train | Emulation. setVirtualTimePolicy - Sets the current virtual time policy. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Emulation_setNavigatorOverrides | def Emulation_setNavigatorOverrides(self, platform):
"""
Function path: Emulation.setNavigatorOverrides
Domain: Emulation
Method name: setNavigatorOverrides
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'platform' (type: string) -> The platform navigator... | python | def Emulation_setNavigatorOverrides(self, platform):
"""
Function path: Emulation.setNavigatorOverrides
Domain: Emulation
Method name: setNavigatorOverrides
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'platform' (type: string) -> The platform navigator... | [
"def",
"Emulation_setNavigatorOverrides",
"(",
"self",
",",
"platform",
")",
":",
"assert",
"isinstance",
"(",
"platform",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'platform' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"platform",
")",... | Function path: Emulation.setNavigatorOverrides
Domain: Emulation
Method name: setNavigatorOverrides
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'platform' (type: string) -> The platform navigator.platform should return.
No return value.
Descriptio... | [
"Function",
"path",
":",
"Emulation",
".",
"setNavigatorOverrides",
"Domain",
":",
"Emulation",
"Method",
"name",
":",
"setNavigatorOverrides",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1843-L1863 | train | Emulation. setNavigatorOverrides - Sets the navigator overrides value. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Emulation_setDefaultBackgroundColorOverride | 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: ... | python | 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: ... | [
"def",
"Emulation_setDefaultBackgroundColorOverride",
"(",
"self",
",",
"*",
"*",
"kwargs",
")",
":",
"expected",
"=",
"[",
"'color'",
"]",
"passed_keys",
"=",
"list",
"(",
"kwargs",
".",
"keys",
"(",
")",
")",
"assert",
"all",
"(",
"[",
"(",
"key",
"in"... | 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 ... | [
"Function",
"path",
":",
"Emulation",
".",
"setDefaultBackgroundColorOverride",
"Domain",
":",
"Emulation",
"Method",
"name",
":",
"setDefaultBackgroundColorOverride",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Optional"... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1865-L1886 | train | Emulation. setDefaultBackgroundColorOverride - Sets or clears an override of the default background color of the frame. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Security_handleCertificateError | 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... | python | 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... | [
"def",
"Security_handleCertificateError",
"(",
"self",
",",
"eventId",
",",
"action",
")",
":",
"assert",
"isinstance",
"(",
"eventId",
",",
"(",
"int",
",",
")",
")",
",",
"\"Argument 'eventId' must be of type '['int']'. Received type: '%s'\"",
"%",
"type",
"(",
"e... | 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.
... | [
"Function",
"path",
":",
"Security",
".",
"handleCertificateError",
"Domain",
":",
"Security",
"Method",
"name",
":",
"handleCertificateError",
"Parameters",
":",
"Required",
"arguments",
":",
"eventId",
"(",
"type",
":",
"integer",
")",
"-",
">",
"The",
"ID",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1914-L1933 | train | This method is used to handle a certificate error event. It is used to handle the certificate error event. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Security_setOverrideCertificateErrors | 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... | python | 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... | [
"def",
"Security_setOverrideCertificateErrors",
"(",
"self",
",",
"override",
")",
":",
"assert",
"isinstance",
"(",
"override",
",",
"(",
"bool",
",",
")",
")",
",",
"\"Argument 'override' must be of type '['bool']'. Received type: '%s'\"",
"%",
"type",
"(",
"override"... | 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 ... | [
"Function",
"path",
":",
"Security",
".",
"setOverrideCertificateErrors",
"Domain",
":",
"Security",
"Method",
"name",
":",
"setOverrideCertificateErrors",
"Parameters",
":",
"Required",
"arguments",
":",
"override",
"(",
"type",
":",
"boolean",
")",
"-",
">",
"If... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1935-L1953 | train | This command allows you to set or disable overriding certificate errors. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Audits_getEncodedResponse | 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... | python | 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... | [
"def",
"Audits_getEncodedResponse",
"(",
"self",
",",
"requestId",
",",
"encoding",
",",
"*",
"*",
"kwargs",
")",
":",
"assert",
"isinstance",
"(",
"encoding",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'encoding' must be of type '['str']'. Received type: '%s'... | 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:
... | [
"Function",
"path",
":",
"Audits",
".",
"getEncodedResponse",
"Domain",
":",
"Audits",
"Method",
"name",
":",
"getEncodedResponse",
"Parameters",
":",
"Required",
"arguments",
":",
"requestId",
"(",
"type",
":",
"Network",
".",
"RequestId",
")",
"-",
">",
"Ide... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L1955-L1992 | train | Audits. getEncodedResponse method. Returns the encoded response body and size if it was re - encoded. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Network_setUserAgentOverride | 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... | python | 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... | [
"def",
"Network_setUserAgentOverride",
"(",
"self",
",",
"userAgent",
")",
":",
"assert",
"isinstance",
"(",
"userAgent",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'userAgent' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"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 agent with the given string. | [
"Function",
"path",
":",
"Network",
".",
"setUserAgentOverride",
"Domain",
":",
"Network",
"Method",
"name",
":",
"setUserAgentOverride",
"Parameters",
":",
"Required",
"arguments",
":",
"userAgent",
"(",
"type",
":",
"string",
")",
"-",
">",
"User",
"agent",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2036-L2054 | train | This method allows overriding user agent with the given string. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Network_setBlockedURLs | 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 ... | python | 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 ... | [
"def",
"Network_setBlockedURLs",
"(",
"self",
",",
"urls",
")",
":",
"assert",
"isinstance",
"(",
"urls",
",",
"(",
"list",
",",
"tuple",
")",
")",
",",
"\"Argument 'urls' must be of type '['list', 'tuple']'. Received type: '%s'\"",
"%",
"type",
"(",
"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 return value.
Description: Blocks URLs fro... | [
"Function",
"path",
":",
"Network",
".",
"setBlockedURLs",
"Domain",
":",
"Network",
"Method",
"name",
":",
"setBlockedURLs",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"urls",
"(",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2092-L2111 | train | This method is used to set the blocked URLs of the current network. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Network_getCookies | 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... | python | 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... | [
"def",
"Network_getCookies",
"(",
"self",
",",
"*",
"*",
"kwargs",
")",
":",
"if",
"'urls'",
"in",
"kwargs",
":",
"assert",
"isinstance",
"(",
"kwargs",
"[",
"'urls'",
"]",
",",
"(",
"list",
",",
"tuple",
")",
")",
",",
"\"Optional argument 'urls' must be ... | 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 ... | [
"Function",
"path",
":",
"Network",
".",
"getCookies",
"Domain",
":",
"Network",
"Method",
"name",
":",
"getCookies",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Optional",
"arguments",
":",
"urls",
"(",
"type",... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2186-L2211 | train | This function returns all browser cookies for the current URL. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Network_deleteCookies | 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... | python | 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... | [
"def",
"Network_deleteCookies",
"(",
"self",
",",
"name",
",",
"*",
"*",
"kwargs",
")",
":",
"assert",
"isinstance",
"(",
"name",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'name' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"name",... | 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 a... | [
"Function",
"path",
":",
"Network",
".",
"deleteCookies",
"Domain",
":",
"Network",
"Method",
"name",
":",
"deleteCookies",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"name",
"(",
"... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2229-L2269 | train | Function Network. deleteCookies Network. deleteCookiesNetworkMethod returns value of Network object. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Network_setCookie | 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... | python | 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... | [
"def",
"Network_setCookie",
"(",
"self",
",",
"name",
",",
"value",
",",
"*",
"*",
"kwargs",
")",
":",
"assert",
"isinstance",
"(",
"name",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'name' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
... | 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 ... | [
"Function",
"path",
":",
"Network",
".",
"setCookie",
"Domain",
":",
"Network",
"Method",
"name",
":",
"setCookie",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"name",
"(",
"type",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2271-L2329 | train | Network. setCookie |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Network_setCookies | 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... | python | 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... | [
"def",
"Network_setCookies",
"(",
"self",
",",
"cookies",
")",
":",
"assert",
"isinstance",
"(",
"cookies",
",",
"(",
"list",
",",
"tuple",
")",
")",
",",
"\"Argument 'cookies' must be of type '['list', 'tuple']'. Received type: '%s'\"",
"%",
"type",
"(",
"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 given cookies. | [
"Function",
"path",
":",
"Network",
".",
"setCookies",
"Domain",
":",
"Network",
"Method",
"name",
":",
"setCookies",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"cookies",
"(",
"typ... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2331-L2351 | train | This function is used to set the cookies in the network. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Network_emulateNetworkConditions | 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... | python | 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... | [
"def",
"Network_emulateNetworkConditions",
"(",
"self",
",",
"offline",
",",
"latency",
",",
"downloadThroughput",
",",
"uploadThroughput",
",",
"*",
"*",
"kwargs",
")",
":",
"assert",
"isinstance",
"(",
"offline",
",",
"(",
"bool",
",",
")",
")",
",",
"\"Ar... | 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 ... | [
"Function",
"path",
":",
"Network",
".",
"emulateNetworkConditions",
"Domain",
":",
"Network",
"Method",
"name",
":",
"emulateNetworkConditions",
"Parameters",
":",
"Required",
"arguments",
":",
"offline",
"(",
"type",
":",
"boolean",
")",
"-",
">",
"True",
"to"... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2370-L2408 | train | This method is used to emulate network conditions. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Network_setCacheDisabled | 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... | python | 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... | [
"def",
"Network_setCacheDisabled",
"(",
"self",
",",
"cacheDisabled",
")",
":",
"assert",
"isinstance",
"(",
"cacheDisabled",
",",
"(",
"bool",
",",
")",
")",
",",
"\"Argument 'cacheDisabled' must be of type '['bool']'. Received type: '%s'\"",
"%",
"type",
"(",
"cacheDi... | 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... | [
"Function",
"path",
":",
"Network",
".",
"setCacheDisabled",
"Domain",
":",
"Network",
"Method",
"name",
":",
"setCacheDisabled",
"Parameters",
":",
"Required",
"arguments",
":",
"cacheDisabled",
"(",
"type",
":",
"boolean",
")",
"-",
">",
"Cache",
"disabled",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2410-L2428 | train | This method is used to set the cache disabled state. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Network_setBypassServiceWorker | 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... | python | 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... | [
"def",
"Network_setBypassServiceWorker",
"(",
"self",
",",
"bypass",
")",
":",
"assert",
"isinstance",
"(",
"bypass",
",",
"(",
"bool",
",",
")",
")",
",",
"\"Argument 'bypass' must be of type '['bool']'. Received type: '%s'\"",
"%",
"type",
"(",
"bypass",
")",
"sub... | 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: To... | [
"Function",
"path",
":",
"Network",
".",
"setBypassServiceWorker",
"Domain",
":",
"Network",
"Method",
"name",
":",
"setBypassServiceWorker",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2430-L2450 | train | This method is used to set the bypass of service worker for each request. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Network_getCertificate | 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... | python | 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... | [
"def",
"Network_getCertificate",
"(",
"self",
",",
"origin",
")",
":",
"assert",
"isinstance",
"(",
"origin",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'origin' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"origin",
")",
"subdom_funcs"... | 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
Descr... | [
"Function",
"path",
":",
"Network",
".",
"getCertificate",
"Domain",
":",
"Network",
"Method",
"name",
":",
"getCertificate",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"origin",
"(",... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2478-L2499 | train | This method returns the DER - encoded certificate for the specified origin. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Network_setRequestInterceptionEnabled | 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... | python | 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... | [
"def",
"Network_setRequestInterceptionEnabled",
"(",
"self",
",",
"enabled",
",",
"*",
"*",
"kwargs",
")",
":",
"assert",
"isinstance",
"(",
"enabled",
",",
"(",
"bool",
",",
")",
")",
",",
"\"Argument 'enabled' must be of type '['bool']'. Received type: '%s'\"",
"%",... | 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... | [
"Function",
"path",
":",
"Network",
".",
"setRequestInterceptionEnabled",
"Domain",
":",
"Network",
"Method",
"name",
":",
"setRequestInterceptionEnabled",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"argumen... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2501-L2531 | train | This function is used to enable or disable requests intercepting. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Network_continueInterceptedRequest | 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... | python | 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... | [
"def",
"Network_continueInterceptedRequest",
"(",
"self",
",",
"interceptionId",
",",
"*",
"*",
"kwargs",
")",
":",
"if",
"'rawResponse'",
"in",
"kwargs",
":",
"assert",
"isinstance",
"(",
"kwargs",
"[",
"'rawResponse'",
"]",
",",
"(",
"str",
",",
")",
")",
... | 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... | [
"Function",
"path",
":",
"Network",
".",
"continueInterceptedRequest",
"Domain",
":",
"Network",
"Method",
"name",
":",
"continueInterceptedRequest",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2533-L2579 | train | This function is used to continue intercepting a request. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Database_executeSQL | 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: ... | python | 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: ... | [
"def",
"Database_executeSQL",
"(",
"self",
",",
"databaseId",
",",
"query",
")",
":",
"assert",
"isinstance",
"(",
"query",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'query' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"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: array) -> No description
'values' (type: array) -> No ... | [
"Function",
"path",
":",
"Database",
".",
"executeSQL",
"Domain",
":",
"Database",
"Method",
"name",
":",
"executeSQL",
"Parameters",
":",
"Required",
"arguments",
":",
"databaseId",
"(",
"type",
":",
"DatabaseId",
")",
"-",
">",
"No",
"description",
"query",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2624-L2645 | train | Database. executeSQL |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.IndexedDB_requestDatabaseNames | 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... | python | 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... | [
"def",
"IndexedDB_requestDatabaseNames",
"(",
"self",
",",
"securityOrigin",
")",
":",
"assert",
"isinstance",
"(",
"securityOrigin",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'securityOrigin' must be of type '['str']'. Received type: '%s'\"",
"%",
"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 name... | [
"Function",
"path",
":",
"IndexedDB",
".",
"requestDatabaseNames",
"Domain",
":",
"IndexedDB",
"Method",
"name",
":",
"requestDatabaseNames",
"Parameters",
":",
"Required",
"arguments",
":",
"securityOrigin",
"(",
"type",
":",
"string",
")",
"-",
">",
"Security",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2673-L2692 | train | This method is used to request the names of databases for a given security origin. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.IndexedDB_requestData | 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.
... | python | 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.
... | [
"def",
"IndexedDB_requestData",
"(",
"self",
",",
"securityOrigin",
",",
"databaseName",
",",
"objectStoreName",
",",
"indexName",
",",
"skipCount",
",",
"pageSize",
",",
"*",
"*",
"kwargs",
")",
":",
"assert",
"isinstance",
"(",
"securityOrigin",
",",
"(",
"s... | 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... | [
"Function",
"path",
":",
"IndexedDB",
".",
"requestData",
"Domain",
":",
"IndexedDB",
"Method",
"name",
":",
"requestData",
"Parameters",
":",
"Required",
"arguments",
":",
"securityOrigin",
"(",
"type",
":",
"string",
")",
"-",
">",
"Security",
"origin",
".",... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2719-L2768 | train | This method is used to make a request to the data of an object store or index. This method is used to make a request to the data of an object store or index. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.IndexedDB_clearObjectStore | 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: ... | python | 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: ... | [
"def",
"IndexedDB_clearObjectStore",
"(",
"self",
",",
"securityOrigin",
",",
"databaseName",
",",
"objectStoreName",
")",
":",
"assert",
"isinstance",
"(",
"securityOrigin",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'securityOrigin' must be of type '['str']'. Re... | 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:
... | [
"Function",
"path",
":",
"IndexedDB",
".",
"clearObjectStore",
"Domain",
":",
"IndexedDB",
"Method",
"name",
":",
"clearObjectStore",
"Parameters",
":",
"Required",
"arguments",
":",
"securityOrigin",
"(",
"type",
":",
"string",
")",
"-",
">",
"Security",
"origi... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2770-L2798 | train | This is the IndexedDB clearObjectStore operation. This operation is idempotent and will return a list of all the entries in an object store. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.IndexedDB_deleteDatabase | 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.
... | python | 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.
... | [
"def",
"IndexedDB_deleteDatabase",
"(",
"self",
",",
"securityOrigin",
",",
"databaseName",
")",
":",
"assert",
"isinstance",
"(",
"securityOrigin",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'securityOrigin' must be of type '['str']'. Received type: '%s'\"",
"%",
... | 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. | [
"Function",
"path",
":",
"IndexedDB",
".",
"deleteDatabase",
"Domain",
":",
"IndexedDB",
"Method",
"name",
":",
"deleteDatabase",
"Parameters",
":",
"Required",
"arguments",
":",
"securityOrigin",
"(",
"type",
":",
"string",
")",
"-",
">",
"Security",
"origin",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2800-L2822 | train | This method deletes a database. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.CacheStorage_requestCacheNames | 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... | python | 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... | [
"def",
"CacheStorage_requestCacheNames",
"(",
"self",
",",
"securityOrigin",
")",
":",
"assert",
"isinstance",
"(",
"securityOrigin",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'securityOrigin' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"... | 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. | [
"Function",
"path",
":",
"CacheStorage",
".",
"requestCacheNames",
"Domain",
":",
"CacheStorage",
"Method",
"name",
":",
"requestCacheNames",
"Parameters",
":",
"Required",
"arguments",
":",
"securityOrigin",
"(",
"type",
":",
"string",
")",
"-",
">",
"Security",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2824-L2843 | train | This method is used to request the names of all caches associated with the specified security origin. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.CacheStorage_requestEntries | 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) -> ... | python | 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) -> ... | [
"def",
"CacheStorage_requestEntries",
"(",
"self",
",",
"cacheId",
",",
"skipCount",
",",
"pageSize",
")",
":",
"assert",
"isinstance",
"(",
"skipCount",
",",
"(",
"int",
",",
")",
")",
",",
"\"Argument 'skipCount' must be of type '['int']'. Received type: '%s'\"",
"%... | 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 recor... | [
"Function",
"path",
":",
"CacheStorage",
".",
"requestEntries",
"Domain",
":",
"CacheStorage",
"Method",
"name",
":",
"requestEntries",
"Parameters",
":",
"Required",
"arguments",
":",
"cacheId",
"(",
"type",
":",
"CacheId",
")",
"-",
">",
"ID",
"of",
"cache",... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2845-L2870 | train | Cache Storage requestEntries operation. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.CacheStorage_deleteEntry | 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 ... | python | 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 ... | [
"def",
"CacheStorage_deleteEntry",
"(",
"self",
",",
"cacheId",
",",
"request",
")",
":",
"assert",
"isinstance",
"(",
"request",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'request' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"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 the request.
No return value.
Description: Deletes a ... | [
"Function",
"path",
":",
"CacheStorage",
".",
"deleteEntry",
"Domain",
":",
"CacheStorage",
"Method",
"name",
":",
"deleteEntry",
"Parameters",
":",
"Required",
"arguments",
":",
"cacheId",
"(",
"type",
":",
"CacheId",
")",
"-",
">",
"Id",
"of",
"cache",
"wh... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2889-L2908 | train | This method deletes a cache entry. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.CacheStorage_requestCachedResponse | 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... | python | 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... | [
"def",
"CacheStorage_requestCachedResponse",
"(",
"self",
",",
"cacheId",
",",
"requestURL",
")",
":",
"assert",
"isinstance",
"(",
"requestURL",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'requestURL' must be of type '['str']'. Received type: '%s'\"",
"%",
"type"... | 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: C... | [
"Function",
"path",
":",
"CacheStorage",
".",
"requestCachedResponse",
"Domain",
":",
"CacheStorage",
"Method",
"name",
":",
"requestCachedResponse",
"Parameters",
":",
"Required",
"arguments",
":",
"cacheId",
"(",
"type",
":",
"CacheId",
")",
"-",
">",
"Id",
"o... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2910-L2930 | train | This method is used to request the response from the cache entry. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOMStorage_setDOMStorageItem | 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... | python | 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... | [
"def",
"DOMStorage_setDOMStorageItem",
"(",
"self",
",",
"storageId",
",",
"key",
",",
"value",
")",
":",
"assert",
"isinstance",
"(",
"key",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'key' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"("... | 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. | [
"Function",
"path",
":",
"DOMStorage",
".",
"setDOMStorageItem",
"Domain",
":",
"DOMStorage",
"Method",
"name",
":",
"setDOMStorageItem",
"Parameters",
":",
"Required",
"arguments",
":",
"storageId",
"(",
"type",
":",
"StorageId",
")",
"-",
">",
"No",
"descripti... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L2991-L3013 | train | DOM Storage Set Item Method. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOMStorage_removeDOMStorageItem | 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... | python | 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... | [
"def",
"DOMStorage_removeDOMStorageItem",
"(",
"self",
",",
"storageId",
",",
"key",
")",
":",
"assert",
"isinstance",
"(",
"key",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'key' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"key",
")... | 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. | [
"Function",
"path",
":",
"DOMStorage",
".",
"removeDOMStorageItem",
"Domain",
":",
"DOMStorage",
"Method",
"name",
":",
"removeDOMStorageItem",
"Parameters",
":",
"Required",
"arguments",
":",
"storageId",
"(",
"type",
":",
"StorageId",
")",
"-",
">",
"No",
"des... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L3015-L3033 | train | description: Remove a DOM storage item. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOM_querySelector | 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: ... | python | 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: ... | [
"def",
"DOM_querySelector",
"(",
"self",
",",
"nodeId",
",",
"selector",
")",
":",
"assert",
"isinstance",
"(",
"selector",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'selector' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"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: NodeId) -> Query selector result.
Description: Ex... | [
"Function",
"path",
":",
"DOM",
".",
"querySelector",
"Domain",
":",
"DOM",
"Method",
"name",
":",
"querySelector",
"Parameters",
":",
"Required",
"arguments",
":",
"nodeId",
"(",
"type",
":",
"NodeId",
")",
"-",
">",
"Id",
"of",
"the",
"node",
"to",
"qu... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L3237-L3257 | train | Query selector on a given node. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOM_setNodeName | 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... | python | 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... | [
"def",
"DOM_setNodeName",
"(",
"self",
",",
"nodeId",
",",
"name",
")",
":",
"assert",
"isinstance",
"(",
"name",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'name' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"name",
")",
"subdom_fu... | 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 f... | [
"Function",
"path",
":",
"DOM",
".",
"setNodeName",
"Domain",
":",
"DOM",
"Method",
"name",
":",
"setNodeName",
"Parameters",
":",
"Required",
"arguments",
":",
"nodeId",
"(",
"type",
":",
"NodeId",
")",
"-",
">",
"Id",
"of",
"the",
"node",
"to",
"set",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L3281-L3301 | train | DOM. setNodeName - Sets the name of a node. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOM_setNodeValue | 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... | python | 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... | [
"def",
"DOM_setNodeValue",
"(",
"self",
",",
"nodeId",
",",
"value",
")",
":",
"assert",
"isinstance",
"(",
"value",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'value' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"value",
")",
"subd... | 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. | [
"Function",
"path",
":",
"DOM",
".",
"setNodeValue",
"Domain",
":",
"DOM",
"Method",
"name",
":",
"setNodeValue",
"Parameters",
":",
"Required",
"arguments",
":",
"nodeId",
"(",
"type",
":",
"NodeId",
")",
"-",
">",
"Id",
"of",
"the",
"node",
"to",
"set"... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L3303-L3322 | train | This method is used to set the value of a node. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOM_setAttributeValue | 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'... | python | 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'... | [
"def",
"DOM_setAttributeValue",
"(",
"self",
",",
"nodeId",
",",
"name",
",",
"value",
")",
":",
"assert",
"isinstance",
"(",
"name",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'name' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"na... | 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.
... | [
"Function",
"path",
":",
"DOM",
".",
"setAttributeValue",
"Domain",
":",
"DOM",
"Method",
"name",
":",
"setAttributeValue",
"Parameters",
":",
"Required",
"arguments",
":",
"nodeId",
"(",
"type",
":",
"NodeId",
")",
"-",
">",
"Id",
"of",
"the",
"element",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L3340-L3363 | train | DOM. setAttributeAttributeValue |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOM_setAttributesAsText | 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... | python | 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... | [
"def",
"DOM_setAttributesAsText",
"(",
"self",
",",
"nodeId",
",",
"text",
",",
"*",
"*",
"kwargs",
")",
":",
"assert",
"isinstance",
"(",
"text",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'text' must be of type '['str']'. Received type: '%s'\"",
"%",
"ty... | 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.
Optiona... | [
"Function",
"path",
":",
"DOM",
".",
"setAttributesAsText",
"Domain",
":",
"DOM",
"Method",
"name",
":",
"setAttributesAsText",
"Parameters",
":",
"Required",
"arguments",
":",
"nodeId",
"(",
"type",
":",
"NodeId",
")",
"-",
">",
"Id",
"of",
"the",
"element"... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L3365-L3394 | train | This method is used to set attributes on an element with given id to text. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOM_setOuterHTML | 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.
... | python | 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.
... | [
"def",
"DOM_setOuterHTML",
"(",
"self",
",",
"nodeId",
",",
"outerHTML",
")",
":",
"assert",
"isinstance",
"(",
"outerHTML",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'outerHTML' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"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.
Description: Sets node HTML markup, returns new n... | [
"Function",
"path",
":",
"DOM",
".",
"setOuterHTML",
"Domain",
":",
"DOM",
"Method",
"name",
":",
"setOuterHTML",
"Parameters",
":",
"Required",
"arguments",
":",
"nodeId",
"(",
"type",
":",
"NodeId",
")",
"-",
">",
"Id",
"of",
"the",
"node",
"to",
"set"... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L3440-L3459 | train | This method is used to set the outer HTML markup for a node. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOM_getSearchResults | 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.
... | python | 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.
... | [
"def",
"DOM_getSearchResults",
"(",
"self",
",",
"searchId",
",",
"fromIndex",
",",
"toIndex",
")",
":",
"assert",
"isinstance",
"(",
"searchId",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'searchId' must be of type '['str']'. Received type: '%s'\"",
"%",
"typ... | 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... | [
"Function",
"path",
":",
"DOM",
".",
"getSearchResults",
"Domain",
":",
"DOM",
"Method",
"name",
":",
"getSearchResults",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"searchId",
"(",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L3495-L3524 | train | This method returns the search results from the given search session identifier. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOM_discardSearchResults | 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... | python | 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... | [
"def",
"DOM_discardSearchResults",
"(",
"self",
",",
"searchId",
")",
":",
"assert",
"isinstance",
"(",
"searchId",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'searchId' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"searchId",
")",
"sub... | 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 ... | [
"Function",
"path",
":",
"DOM",
".",
"discardSearchResults",
"Domain",
":",
"DOM",
"Method",
"name",
":",
"discardSearchResults",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"searchId",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L3526-L3546 | train | This method is used to discard search results from the session with the given id. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOM_pushNodeByPathToFrontend | 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.... | python | 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.... | [
"def",
"DOM_pushNodeByPathToFrontend",
"(",
"self",
",",
"path",
")",
":",
"assert",
"isinstance",
"(",
"path",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'path' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"path",
")",
"subdom_funcs",
... | 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 ... | [
"Function",
"path",
":",
"DOM",
".",
"pushNodeByPathToFrontend",
"Domain",
":",
"DOM",
"Method",
"name",
":",
"pushNodeByPathToFrontend",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"pat... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L3604-L3625 | train | This method is used to push a node to the frontend. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOM_pushNodesByBackendIdsToFrontend | 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) ->... | python | 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) ->... | [
"def",
"DOM_pushNodesByBackendIdsToFrontend",
"(",
"self",
",",
"backendNodeIds",
")",
":",
"assert",
"isinstance",
"(",
"backendNodeIds",
",",
"(",
"list",
",",
"tuple",
")",
")",
",",
"\"Argument 'backendNodeIds' must be of type '['list', 'tuple']'. Received type: '%s'\"",
... | 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)... | [
"Function",
"path",
":",
"DOM",
".",
"pushNodesByBackendIdsToFrontend",
"Domain",
":",
"DOM",
"Method",
"name",
":",
"pushNodesByBackendIdsToFrontend",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L3627-L3648 | train | This method is used to push nodes to the frontend. It is used to send a batch of nodes to the frontend. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOM_copyTo | 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 ... | python | 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 ... | [
"def",
"DOM_copyTo",
"(",
"self",
",",
"nodeId",
",",
"targetNodeId",
",",
"*",
"*",
"kwargs",
")",
":",
"expected",
"=",
"[",
"'insertBeforeNodeId'",
"]",
"passed_keys",
"=",
"list",
"(",
"kwargs",
".",
"keys",
"(",
")",
")",
"assert",
"all",
"(",
"["... | 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:
... | [
"Function",
"path",
":",
"DOM",
".",
"copyTo",
"Domain",
":",
"DOM",
"Method",
"name",
":",
"copyTo",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"nodeId",
"(",
"type",
":",
"Nod... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L3713-L3738 | train | This method is used to copy a node into a target container. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOM_setFileInputFiles | 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... | python | 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... | [
"def",
"DOM_setFileInputFiles",
"(",
"self",
",",
"files",
",",
"*",
"*",
"kwargs",
")",
":",
"assert",
"isinstance",
"(",
"files",
",",
"(",
"list",
",",
"tuple",
")",
")",
",",
"\"Argument 'files' must be of type '['list', 'tuple']'. Received type: '%s'\"",
"%",
... | 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.... | [
"Function",
"path",
":",
"DOM",
".",
"setFileInputFiles",
"Domain",
":",
"DOM",
"Method",
"name",
":",
"setFileInputFiles",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"files",
"(",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L3834-L3862 | train | This method is used to set the files for the given file input element. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOM_getNodeForLocation | 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... | python | 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... | [
"def",
"DOM_getNodeForLocation",
"(",
"self",
",",
"x",
",",
"y",
",",
"*",
"*",
"kwargs",
")",
":",
"assert",
"isinstance",
"(",
"x",
",",
"(",
"int",
",",
")",
")",
",",
"\"Argument 'x' must be of type '['int']'. Received type: '%s'\"",
"%",
"type",
"(",
"... | 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:
'includeUserAgentShado... | [
"Function",
"path",
":",
"DOM",
".",
"getNodeForLocation",
"Domain",
":",
"DOM",
"Method",
"name",
":",
"getNodeForLocation",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments",
":",
"x",
"(",
"t... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L3889-L3924 | train | This method returns the node id at given location. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOM_describeNode | 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:... | python | 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:... | [
"def",
"DOM_describeNode",
"(",
"self",
",",
"*",
"*",
"kwargs",
")",
":",
"if",
"'depth'",
"in",
"kwargs",
":",
"assert",
"isinstance",
"(",
"kwargs",
"[",
"'depth'",
"]",
",",
"(",
"int",
",",
")",
")",
",",
"\"Optional argument 'depth' must be of type '['... | 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 ... | [
"Function",
"path",
":",
"DOM",
".",
"describeNode",
"Domain",
":",
"DOM",
"Method",
"name",
":",
"describeNode",
"Parameters",
":",
"Optional",
"arguments",
":",
"nodeId",
"(",
"type",
":",
"NodeId",
")",
"-",
">",
"Identifier",
"of",
"the",
"node",
".",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L3946-L3977 | train | This method returns a description of a node. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.CSS_setStyleSheetText | 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... | python | 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... | [
"def",
"CSS_setStyleSheetText",
"(",
"self",
",",
"styleSheetId",
",",
"text",
")",
":",
"assert",
"isinstance",
"(",
"text",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'text' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"text",
")",
... | 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 scrip... | [
"Function",
"path",
":",
"CSS",
".",
"setStyleSheetText",
"Domain",
":",
"CSS",
"Method",
"name",
":",
"setStyleSheetText",
"Parameters",
":",
"Required",
"arguments",
":",
"styleSheetId",
"(",
"type",
":",
"StyleSheetId",
")",
"-",
">",
"No",
"description",
"... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4123-L4143 | train | This command is executed when the user changes the text of a stylesheet. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.CSS_setRuleSelector | 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' ... | python | 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' ... | [
"def",
"CSS_setRuleSelector",
"(",
"self",
",",
"styleSheetId",
",",
"range",
",",
"selector",
")",
":",
"assert",
"isinstance",
"(",
"selector",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'selector' must be of type '['str']'. Received type: '%s'\"",
"%",
"typ... | 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:... | [
"Function",
"path",
":",
"CSS",
".",
"setRuleSelector",
"Domain",
":",
"CSS",
"Method",
"name",
":",
"setRuleSelector",
"Parameters",
":",
"Required",
"arguments",
":",
"styleSheetId",
"(",
"type",
":",
"StyleSheetId",
")",
"-",
">",
"No",
"description",
"rang... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4145-L4166 | train | This method is used to set the rule selector in a style sheet. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.CSS_setKeyframeKey | 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... | python | 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... | [
"def",
"CSS_setKeyframeKey",
"(",
"self",
",",
"styleSheetId",
",",
"range",
",",
"keyText",
")",
":",
"assert",
"isinstance",
"(",
"keyText",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'keyText' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
... | 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) ... | [
"Function",
"path",
":",
"CSS",
".",
"setKeyframeKey",
"Domain",
":",
"CSS",
"Method",
"name",
":",
"setKeyframeKey",
"Parameters",
":",
"Required",
"arguments",
":",
"styleSheetId",
"(",
"type",
":",
"StyleSheetId",
")",
"-",
">",
"No",
"description",
"range"... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4168-L4189 | train | This command is used to set the keyframe rule key text. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.CSS_setStyleTexts | 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... | python | 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... | [
"def",
"CSS_setStyleTexts",
"(",
"self",
",",
"edits",
")",
":",
"assert",
"isinstance",
"(",
"edits",
",",
"(",
"list",
",",
"tuple",
")",
")",
",",
"\"Argument 'edits' must be of type '['list', 'tuple']'. Received type: '%s'\"",
"%",
"type",
"(",
"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 specified style edits one after another in th... | [
"Function",
"path",
":",
"CSS",
".",
"setStyleTexts",
"Domain",
":",
"CSS",
"Method",
"name",
":",
"setStyleTexts",
"Parameters",
":",
"Required",
"arguments",
":",
"edits",
"(",
"type",
":",
"array",
")",
"-",
">",
"No",
"description",
"Returns",
":",
"st... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4191-L4209 | train | This method is used to set the style texts of the selected elements in the editor. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.CSS_setMediaText | 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) ->... | python | 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) ->... | [
"def",
"CSS_setMediaText",
"(",
"self",
",",
"styleSheetId",
",",
"range",
",",
"text",
")",
":",
"assert",
"isinstance",
"(",
"text",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'text' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"t... | 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... | [
"Function",
"path",
":",
"CSS",
".",
"setMediaText",
"Domain",
":",
"CSS",
"Method",
"name",
":",
"setMediaText",
"Parameters",
":",
"Required",
"arguments",
":",
"styleSheetId",
"(",
"type",
":",
"StyleSheetId",
")",
"-",
">",
"No",
"description",
"range",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4211-L4232 | train | This method is used to set the text of a media rule. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.CSS_addRule | 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... | python | 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... | [
"def",
"CSS_addRule",
"(",
"self",
",",
"styleSheetId",
",",
"ruleText",
",",
"location",
")",
":",
"assert",
"isinstance",
"(",
"ruleText",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'ruleText' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
... | 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) -> Tex... | [
"Function",
"path",
":",
"CSS",
".",
"addRule",
"Domain",
":",
"CSS",
"Method",
"name",
":",
"addRule",
"Parameters",
":",
"Required",
"arguments",
":",
"styleSheetId",
"(",
"type",
":",
"StyleSheetId",
")",
"-",
">",
"The",
"css",
"style",
"sheet",
"ident... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4252-L4273 | train | This method is used to add a new rule in a CSS style sheet. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.CSS_forcePseudoState | 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... | python | 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... | [
"def",
"CSS_forcePseudoState",
"(",
"self",
",",
"nodeId",
",",
"forcedPseudoClasses",
")",
":",
"assert",
"isinstance",
"(",
"forcedPseudoClasses",
",",
"(",
"list",
",",
"tuple",
")",
")",
",",
"\"Argument 'forcedPseudoClasses' must be of type '['list', 'tuple']'. Recei... | 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 s... | [
"Function",
"path",
":",
"CSS",
".",
"forcePseudoState",
"Domain",
":",
"CSS",
"Method",
"name",
":",
"forcePseudoState",
"Parameters",
":",
"Required",
"arguments",
":",
"nodeId",
"(",
"type",
":",
"DOM",
".",
"NodeId",
")",
"-",
">",
"The",
"element",
"i... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4275-L4294 | train | This method allows you to force the pseudo state of an element. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.CSS_setEffectivePropertyValueForNode | 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... | python | 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... | [
"def",
"CSS_setEffectivePropertyValueForNode",
"(",
"self",
",",
"nodeId",
",",
"propertyName",
",",
"value",
")",
":",
"assert",
"isinstance",
"(",
"propertyName",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'propertyName' must be of type '['str']'. Received type:... | 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: st... | [
"Function",
"path",
":",
"CSS",
".",
"setEffectivePropertyValueForNode",
"Domain",
":",
"CSS",
"Method",
"name",
":",
"setEffectivePropertyValueForNode",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"arguments... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4312-L4338 | train | This method is used to set the value of the given property on the given node. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOMSnapshot_getSnapshot | 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: ... | python | 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: ... | [
"def",
"DOMSnapshot_getSnapshot",
"(",
"self",
",",
"computedStyleWhitelist",
")",
":",
"assert",
"isinstance",
"(",
"computedStyleWhitelist",
",",
"(",
"list",
",",
"tuple",
")",
")",
",",
"\"Argument 'computedStyleWhitelist' must be of type '['list', 'tuple']'. Received typ... | 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 corresp... | [
"Function",
"path",
":",
"DOMSnapshot",
".",
"getSnapshot",
"Domain",
":",
"DOMSnapshot",
"Method",
"name",
":",
"getSnapshot",
"Parameters",
":",
"Required",
"arguments",
":",
"computedStyleWhitelist",
"(",
"type",
":",
"array",
")",
"-",
">",
"Whitelist",
"of"... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4409-L4430 | train | This method returns a document snapshot including the full DOM tree of the root document and the layout tree of each node. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOMDebugger_setDOMBreakpoint | 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... | python | 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... | [
"def",
"DOMDebugger_setDOMBreakpoint",
"(",
"self",
",",
"nodeId",
",",
"type",
")",
":",
"subdom_funcs",
"=",
"self",
".",
"synchronous_command",
"(",
"'DOMDebugger.setDOMBreakpoint'",
",",
"nodeId",
"=",
"nodeId",
",",
"type",
"=",
"type",
")",
"return",
"subd... | 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.
... | [
"Function",
"path",
":",
"DOMDebugger",
".",
"setDOMBreakpoint",
"Domain",
":",
"DOMDebugger",
"Method",
"name",
":",
"setDOMBreakpoint",
"Parameters",
":",
"Required",
"arguments",
":",
"nodeId",
"(",
"type",
":",
"DOM",
".",
"NodeId",
")",
"-",
">",
"Identif... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4499-L4515 | train | This method is used to set the breakpoint on a specific node. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOMDebugger_removeDOMBreakpoint | 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... | python | 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... | [
"def",
"DOMDebugger_removeDOMBreakpoint",
"(",
"self",
",",
"nodeId",
",",
"type",
")",
":",
"subdom_funcs",
"=",
"self",
".",
"synchronous_command",
"(",
"'DOMDebugger.removeDOMBreakpoint'",
",",
"nodeId",
"=",
"nodeId",
",",
"type",
"=",
"type",
")",
"return",
... | 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 retur... | [
"Function",
"path",
":",
"DOMDebugger",
".",
"removeDOMBreakpoint",
"Domain",
":",
"DOMDebugger",
"Method",
"name",
":",
"removeDOMBreakpoint",
"Parameters",
":",
"Required",
"arguments",
":",
"nodeId",
"(",
"type",
":",
"DOM",
".",
"NodeId",
")",
"-",
">",
"I... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4517-L4533 | train | This method is used to remove a DOM breakpoint from a node. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOMDebugger_setInstrumentationBreakpoint | 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... | python | 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... | [
"def",
"DOMDebugger_setInstrumentationBreakpoint",
"(",
"self",
",",
"eventName",
")",
":",
"assert",
"isinstance",
"(",
"eventName",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'eventName' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"event... | 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.
Descr... | [
"Function",
"path",
":",
"DOMDebugger",
".",
"setInstrumentationBreakpoint",
"Domain",
":",
"DOMDebugger",
"Method",
"name",
":",
"setInstrumentationBreakpoint",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required",
"a... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4596-L4616 | train | This method is used to set the breakpoint on particular native event. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOMDebugger_removeInstrumentationBreakpoint | 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... | python | 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... | [
"def",
"DOMDebugger_removeInstrumentationBreakpoint",
"(",
"self",
",",
"eventName",
")",
":",
"assert",
"isinstance",
"(",
"eventName",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'eventName' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"ev... | 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.
... | [
"Function",
"path",
":",
"DOMDebugger",
".",
"removeInstrumentationBreakpoint",
"Domain",
":",
"DOMDebugger",
"Method",
"name",
":",
"removeInstrumentationBreakpoint",
"WARNING",
":",
"This",
"function",
"is",
"marked",
"Experimental",
"!",
"Parameters",
":",
"Required"... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4618-L4638 | train | This method is used to remove a breakpoint on a native event. It is intended to be used by DOMDebugger_addInstrumentationBreakpoint. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOMDebugger_setXHRBreakpoint | 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... | python | 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... | [
"def",
"DOMDebugger_setXHRBreakpoint",
"(",
"self",
",",
"url",
")",
":",
"assert",
"isinstance",
"(",
"url",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'url' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"url",
")",
"subdom_funcs",
"=... | 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 XM... | [
"Function",
"path",
":",
"DOMDebugger",
".",
"setXHRBreakpoint",
"Domain",
":",
"DOMDebugger",
"Method",
"name",
":",
"setXHRBreakpoint",
"Parameters",
":",
"Required",
"arguments",
":",
"url",
"(",
"type",
":",
"string",
")",
"-",
">",
"Resource",
"URL",
"sub... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4640-L4658 | train | setXHRBreakpoint - Sets breakpoint on XMLHttpRequest. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.DOMDebugger_removeXHRBreakpoint | 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 ... | python | 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 ... | [
"def",
"DOMDebugger_removeXHRBreakpoint",
"(",
"self",
",",
"url",
")",
":",
"assert",
"isinstance",
"(",
"url",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'url' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"url",
")",
"subdom_funcs",
... | 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. | [
"Function",
"path",
":",
"DOMDebugger",
".",
"removeXHRBreakpoint",
"Domain",
":",
"DOMDebugger",
"Method",
"name",
":",
"removeXHRBreakpoint",
"Parameters",
":",
"Required",
"arguments",
":",
"url",
"(",
"type",
":",
"string",
")",
"-",
">",
"Resource",
"URL",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4660-L4678 | train | This method is used to remove a breakpoint from the XMLHttpRequest. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Target_setDiscoverTargets | 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... | python | 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... | [
"def",
"Target_setDiscoverTargets",
"(",
"self",
",",
"discover",
")",
":",
"assert",
"isinstance",
"(",
"discover",
",",
"(",
"bool",
",",
")",
")",
",",
"\"Argument 'discover' must be of type '['bool']'. Received type: '%s'\"",
"%",
"type",
"(",
"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 to discover available targets and notify via <code>tar... | [
"Function",
"path",
":",
"Target",
".",
"setDiscoverTargets",
"Domain",
":",
"Target",
"Method",
"name",
":",
"setDiscoverTargets",
"Parameters",
":",
"Required",
"arguments",
":",
"discover",
"(",
"type",
":",
"boolean",
")",
"-",
">",
"Whether",
"to",
"disco... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4715-L4733 | train | Target. setDiscoverTargets - Sets whether to discover available targets and notify via targetCreated and targetInfoChanged events. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Target_setAutoAttach | 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... | python | 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... | [
"def",
"Target_setAutoAttach",
"(",
"self",
",",
"autoAttach",
",",
"waitForDebuggerOnStart",
")",
":",
"assert",
"isinstance",
"(",
"autoAttach",
",",
"(",
"bool",
",",
")",
")",
",",
"\"Argument 'autoAttach' must be of type '['bool']'. Received type: '%s'\"",
"%",
"ty... | 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>Ru... | [
"Function",
"path",
":",
"Target",
".",
"setAutoAttach",
"Domain",
":",
"Target",
"Method",
"name",
":",
"setAutoAttach",
"Parameters",
":",
"Required",
"arguments",
":",
"autoAttach",
"(",
"type",
":",
"boolean",
")",
"-",
">",
"Whether",
"to",
"auto",
"-",... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4735-L4757 | train | This method sets the auto - attach flag of the target. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Target_setAttachToFrames | 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,)
), "... | python | 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,)
), "... | [
"def",
"Target_setAttachToFrames",
"(",
"self",
",",
"value",
")",
":",
"assert",
"isinstance",
"(",
"value",
",",
"(",
"bool",
",",
")",
")",
",",
"\"Argument 'value' must be of type '['bool']'. Received type: '%s'\"",
"%",
"type",
"(",
"value",
")",
"subdom_funcs"... | Function path: Target.setAttachToFrames
Domain: Target
Method name: setAttachToFrames
Parameters:
Required arguments:
'value' (type: boolean) -> Whether to attach to frames.
No return value. | [
"Function",
"path",
":",
"Target",
".",
"setAttachToFrames",
"Domain",
":",
"Target",
"Method",
"name",
":",
"setAttachToFrames",
"Parameters",
":",
"Required",
"arguments",
":",
"value",
"(",
"type",
":",
"boolean",
")",
"-",
">",
"Whether",
"to",
"attach",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4759-L4776 | train | This method is used to set whether to attach to frames. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Target_setRemoteLocations | 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 ... | python | 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 ... | [
"def",
"Target_setRemoteLocations",
"(",
"self",
",",
"locations",
")",
":",
"assert",
"isinstance",
"(",
"locations",
",",
"(",
"list",
",",
"tuple",
")",
")",
",",
"\"Argument 'locations' must be of type '['list', 'tuple']'. Received type: '%s'\"",
"%",
"type",
"(",
... | 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</... | [
"Function",
"path",
":",
"Target",
".",
"setRemoteLocations",
"Domain",
":",
"Target",
"Method",
"name",
":",
"setRemoteLocations",
"Parameters",
":",
"Required",
"arguments",
":",
"locations",
"(",
"type",
":",
"array",
")",
"-",
">",
"List",
"of",
"remote",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4778-L4796 | train | This method is used to set the remote locations of the target. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.Target_sendMessageToTarget | 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... | python | 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... | [
"def",
"Target_sendMessageToTarget",
"(",
"self",
",",
"message",
",",
"*",
"*",
"kwargs",
")",
":",
"assert",
"isinstance",
"(",
"message",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'message' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
... | 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) -> Deprecate... | [
"Function",
"path",
":",
"Target",
".",
"sendMessageToTarget",
"Domain",
":",
"Target",
"Method",
"name",
":",
"sendMessageToTarget",
"Parameters",
":",
"Required",
"arguments",
":",
"message",
"(",
"type",
":",
"string",
")",
"-",
">",
"No",
"description",
"O... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L4798-L4823 | train | This method is used to send a message to the target. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.ServiceWorker_unregister | 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... | python | 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... | [
"def",
"ServiceWorker_unregister",
"(",
"self",
",",
"scopeURL",
")",
":",
"assert",
"isinstance",
"(",
"scopeURL",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'scopeURL' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"scopeURL",
")",
"sub... | Function path: ServiceWorker.unregister
Domain: ServiceWorker
Method name: unregister
Parameters:
Required arguments:
'scopeURL' (type: string) -> No description
No return value. | [
"Function",
"path",
":",
"ServiceWorker",
".",
"unregister",
"Domain",
":",
"ServiceWorker",
"Method",
"name",
":",
"unregister",
"Parameters",
":",
"Required",
"arguments",
":",
"scopeURL",
"(",
"type",
":",
"string",
")",
"-",
">",
"No",
"description",
"No",... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L5024-L5041 | train | Function path : ServiceWorker. unregister
Domain : ServiceWorker
Method name : unregister
Parameters arguments : ServiceWorker
Parameter type : str |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.ServiceWorker_updateRegistration | 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, ... | python | 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, ... | [
"def",
"ServiceWorker_updateRegistration",
"(",
"self",
",",
"scopeURL",
")",
":",
"assert",
"isinstance",
"(",
"scopeURL",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'scopeURL' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"scopeURL",
")"... | Function path: ServiceWorker.updateRegistration
Domain: ServiceWorker
Method name: updateRegistration
Parameters:
Required arguments:
'scopeURL' (type: string) -> No description
No return value. | [
"Function",
"path",
":",
"ServiceWorker",
".",
"updateRegistration",
"Domain",
":",
"ServiceWorker",
"Method",
"name",
":",
"updateRegistration",
"Parameters",
":",
"Required",
"arguments",
":",
"scopeURL",
"(",
"type",
":",
"string",
")",
"-",
">",
"No",
"descr... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L5043-L5060 | train | Function path : ServiceWorker. updateRegistration |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.ServiceWorker_startWorker | 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... | python | 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... | [
"def",
"ServiceWorker_startWorker",
"(",
"self",
",",
"scopeURL",
")",
":",
"assert",
"isinstance",
"(",
"scopeURL",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'scopeURL' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"scopeURL",
")",
"su... | Function path: ServiceWorker.startWorker
Domain: ServiceWorker
Method name: startWorker
Parameters:
Required arguments:
'scopeURL' (type: string) -> No description
No return value. | [
"Function",
"path",
":",
"ServiceWorker",
".",
"startWorker",
"Domain",
":",
"ServiceWorker",
"Method",
"name",
":",
"startWorker",
"Parameters",
":",
"Required",
"arguments",
":",
"scopeURL",
"(",
"type",
":",
"string",
")",
"-",
">",
"No",
"description",
"No... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L5062-L5079 | train | This method is used to start a worker in a worker. It is used to start a worker in a worker. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.ServiceWorker_skipWaiting | 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... | python | 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... | [
"def",
"ServiceWorker_skipWaiting",
"(",
"self",
",",
"scopeURL",
")",
":",
"assert",
"isinstance",
"(",
"scopeURL",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'scopeURL' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"scopeURL",
")",
"su... | Function path: ServiceWorker.skipWaiting
Domain: ServiceWorker
Method name: skipWaiting
Parameters:
Required arguments:
'scopeURL' (type: string) -> No description
No return value. | [
"Function",
"path",
":",
"ServiceWorker",
".",
"skipWaiting",
"Domain",
":",
"ServiceWorker",
"Method",
"name",
":",
"skipWaiting",
"Parameters",
":",
"Required",
"arguments",
":",
"scopeURL",
"(",
"type",
":",
"string",
")",
"-",
">",
"No",
"description",
"No... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L5081-L5098 | train | This method is used to skip waiting for a given scope URL. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.ServiceWorker_stopWorker | 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... | python | 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... | [
"def",
"ServiceWorker_stopWorker",
"(",
"self",
",",
"versionId",
")",
":",
"assert",
"isinstance",
"(",
"versionId",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'versionId' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"versionId",
")",
... | Function path: ServiceWorker.stopWorker
Domain: ServiceWorker
Method name: stopWorker
Parameters:
Required arguments:
'versionId' (type: string) -> No description
No return value. | [
"Function",
"path",
":",
"ServiceWorker",
".",
"stopWorker",
"Domain",
":",
"ServiceWorker",
"Method",
"name",
":",
"stopWorker",
"Parameters",
":",
"Required",
"arguments",
":",
"versionId",
"(",
"type",
":",
"string",
")",
"-",
">",
"No",
"description",
"No"... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L5100-L5117 | train | This method is used to stop the Worker with the given versionId. |
fake-name/ChromeController | ChromeController/Generator/Generated.py | ChromeRemoteDebugInterface.ServiceWorker_inspectWorker | 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,)
... | python | 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,)
... | [
"def",
"ServiceWorker_inspectWorker",
"(",
"self",
",",
"versionId",
")",
":",
"assert",
"isinstance",
"(",
"versionId",
",",
"(",
"str",
",",
")",
")",
",",
"\"Argument 'versionId' must be of type '['str']'. Received type: '%s'\"",
"%",
"type",
"(",
"versionId",
")",... | Function path: ServiceWorker.inspectWorker
Domain: ServiceWorker
Method name: inspectWorker
Parameters:
Required arguments:
'versionId' (type: string) -> No description
No return value. | [
"Function",
"path",
":",
"ServiceWorker",
".",
"inspectWorker",
"Domain",
":",
"ServiceWorker",
"Method",
"name",
":",
"inspectWorker",
"Parameters",
":",
"Required",
"arguments",
":",
"versionId",
"(",
"type",
":",
"string",
")",
"-",
">",
"No",
"description",
... | 914dd136184e8f1165c7aa6ef30418aaf10c61f0 | https://github.com/fake-name/ChromeController/blob/914dd136184e8f1165c7aa6ef30418aaf10c61f0/ChromeController/Generator/Generated.py#L5131-L5148 | train | This method returns a synchronous command that returns the status of the worker with the given versionId. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.