| Key | Type | Description |
|---|---|---|
| ELEMENT | string | The opaque ID assigned to the element by the server. This ID should be used in all subsequent commands issued against the element. |
| Key | Type | Description |
|---|---|---|
| browserName | string | The name of the browser being used; should be one of {chrome|firefox|htmlunit|internet explorer|iphone}. |
| version | string | The browser version, or the empty string if unknown. |
| platform | string | A key specifying which platform the browser is running on. This value should be one of {WINDOWS|XP|VISTA|MAC|LINUX|UNIX}. When requesting a new session, the client may specify ANY to indicate any available platform may be used. |
| javascriptEnabled | boolean | Whether the session supports executing user supplied JavaScript in the context of the current page. |
| takesScreenshot | boolean | Whether the session supports taking screenshots of the current page. |
| handlesAlerts | boolean | Whether the session can interact with modal popups, such as window.alert and window.confirm. |
| databaseEnabled | boolean | Whether the session can interact database storage. |
| locationContextEnabled | boolean | Whether the session can set and query the browser's location context. |
| applicationCacheEnabled | boolean | Whether the session can interact with the application cache. |
| browserConnectionEnabled | boolean | Whether the session can query for the browser's connectivity and disable it if desired. |
| cssSelectorsEnabled | boolean | Whether the session supports CSS selectors when searching for elements. |
| webStorageEnabled | boolean | Whether the session supports interactions with storage objects. |
| rotatable | boolean | Whether the session can rotate the current page's current layout between portrait and landscape orientations (only applies to mobile platforms). |
| acceptSslCerts | boolean | Whether the session should accept all SSL certs by default. |
| nativeEvents | boolean | Whether the session is capable of generating native events when simulating user input. |
| proxy | proxy object | Details of any proxy to use. If no proxy is specified, whatever the system's current or default state is used. The format is specified under Proxy JSON Object. |
| Key | Type | Description |
|---|---|---|
| name | string | The name of the cookie. |
| value | string | The cookie value. |
| path | string | (Optional) The cookie path.1 |
| domain | string | (Optional) The domain the cookie is visible to.1 |
| secure | boolean | (Optional) Whether the cookie is a secure cookie.1 |
| httpOnly | boolean | (Optional) Whether the cookie is an httpOnly cookie.1 |
| expiry | number | (Optional) When the cookie expires, specified in seconds since midnight, January 1, 1970 UTC.1 |
| Key | Type | Description |
|---|---|---|
| timestamp | number | The timestamp of the entry. |
| level | string | The log level of the entry, for example, "INFO" (see log levels). |
| message | string | The log message. |
| Level | Description |
|---|---|
| ALL | All log messages. Used for fetching of logs and configuration of logging. |
| DEBUG | Messages for debugging. |
| INFO | Messages with user information. |
| WARNING | Messages corresponding to non-critical problems. |
| SEVERE | Messages corresponding to critical errors. |
| OFF | No log messages. Used for configuration of logging. |
| Log Type | Description |
|---|---|
| client | Logs from the client. |
| driver | Logs from the webdriver. |
| browser | Logs from the browser. |
| server | Logs from the server. |
| Key | Type | Description |
|---|---|---|
| proxyType | string | (Required) The type of proxy being used. Possible values are: direct - A direct connection - no proxy in use, manual - Manual proxy settings configured, e.g. setting a proxy for HTTP, a proxy for FTP, etc, pac - Proxy autoconfiguration from a URL, autodetect - Proxy autodetection, probably with WPAD, system - Use system settings |
| proxyAutoconfigUrl | string | (Required if proxyType == pac, Ignored otherwise) Specifies the URL to be used for proxy autoconfiguration. Expected format example: http://hostname.com:1234/pacfile |
| ftpProxy, httpProxy, sslProxy, socksProxy | string | (Optional, Ignored if proxyType != manual) Specifies the proxies to be used for FTP, HTTP, HTTPS and SOCKS requests respectively. Behaviour is undefined if a request is made, where the proxy for the particular protocol is undefined, if proxyType is manual. Expected format example: hostname.com:1234 |
| socksUsername | string | (Optional, Ignored if proxyType != manual and socksProxy is not set) Specifies SOCKS proxy username. |
| socksPassword | string | (Optional, Ignored if proxyType != manual and socksProxy is not set) Specifies SOCKS proxy password. |
| noProxy | string | (Optional, Ignored if proxyType != manual) Specifies proxy bypass addresses. Format is driver specific. |
404 Not Found message.501 Not Implemented error message. Note this is the only error in the Invalid Request category that does not return a 4xx status code.404 Not Found. For example, if ID my-session is not a valid session ID on the server, and a command is sent to GET /session/my-session HTTP/1.1, then the server should gracefully return a 404.405 Method Not Allowed. The response must include an Allows header with a list of the allowed methods for the requested resource.400 Bad Request. The response body should list the missing parameters.| Key | Type | Description |
|---|---|---|
| build | object | |
| build.version | string | A generic release label (i.e. "2.0rc3") |
| build.revision | string | The revision of the local source control client from which the server was built |
| build.time | string | A timestamp from when the server was built. |
| os | object | |
| os.arch | string | The current system architecture. |
| os.name | string | The name of the operating system the server is currently running on: "windows", "linux", etc. |
| os.version | string | The operating system version. |
{object} An object describing the general status of the server.desiredCapabilities - {object} An object describing the session's desired capabilities.requiredCapabilities - {object} An object describing the session's required capabilities (Optional).{object} An object describing the session's capabilities.SessionNotCreatedException - If a required capability could not be set.| Key | Type | Description |
|---|---|---|
| id | string | The session ID. |
| capabilities | object | An object describing the session's capabilities. |
{Array.<Object>} A list of the currently active sessions.:sessionId - ID of the session to route the command to.{object} An object describing the session's capabilities.:sessionId - ID of the session to route the command to.:sessionId - ID of the session to route the command to.type - {string} The type of operation to set the timeout for. Valid values are: "script" for script timeouts, "implicit" for modifying the implicit wait timeout and "page load" for setting a page load timeout.ms - {number} The amount of time, in milliseconds, that time-limited commands are permitted to run./session/:sessionId/execute_async are permitted to run before they are aborted and a |Timeout| error is returned to the client.:sessionId - ID of the session to route the command to.ms - {number} The amount of time, in milliseconds, that time-limited commands are permitted to run.:sessionId - ID of the session to route the command to.ms - {number} The amount of time to wait, in milliseconds. This value has a lower bound of 0.:sessionId - ID of the session to route the command to.{string} The current window handle.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.{Array.<string>} A list of window handles.:sessionId - ID of the session to route the command to.{string} The current URL.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.url - {string} The URL to navigate to.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.NoSuchWindow - If the currently selected window has been closed.script argument defines the script to execute in the form of a function body. The value returned by that function will be returned to the client. The function will be invoked with the provided args array and the values may be accessed via the arguments object in the order specified.:sessionId - ID of the session to route the command to.script - {string} The script to execute.args - {Array.<*>} The script arguments.{*} The script result.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If one of the script arguments is a WebElement that is not attached to the page's DOM.JavaScriptError - If the script throws an Error.unload event is fired while waiting for a script result, an error should be returned to the client.script argument defines the script to execute in teh form of a function body. The function will be invoked with the provided args array and the values may be accessed via the arguments object in the order specified. The final argument will always be a callback function that must be invoked to signal that the script has finished.:sessionId - ID of the session to route the command to.script - {string} The script to execute.args - {Array.<*>} The script arguments.{*} The script result.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If one of the script arguments is a WebElement that is not attached to the page's DOM.Timeout - If the script callback is not invoked before the timout expires. Timeouts are controlled by the /session/:sessionId/timeout/async_script command.JavaScriptError - If the script throws an Error or if an unload event is fired while waiting for the script to finish.:sessionId - ID of the session to route the command to.{string} The screenshot as a base64 encoded PNG.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.{Array.<string>} A list of available enginesImeNotAvailableException - If the host does not support IME:sessionId - ID of the session to route the command to.{string} The name of the active IME engine.ImeNotAvailableException - If the host does not support IME:sessionId - ID of the session to route the command to.{boolean} true if IME input is available and currently active, false otherwiseImeNotAvailableException - If the host does not support IME:sessionId - ID of the session to route the command to.ImeNotAvailableException - If the host does not support IME:sessionId - ID of the session to route the command to.engine - {string} Name of the engine to activate.ImeActivationFailedException - If the engine is not available or if the activation fails for other reasons.ImeNotAvailableException - If the host does not support IMEid is null, the server:sessionId - ID of the session to route the command to.id - {string|number|null|WebElement JSON Object} Identifier for the frame to change focus to.NoSuchWindow - If the currently selected window has been closed.NoSuchFrame - If the frame specified by id cannot be found.:sessionId - ID of the session to route the command to.name attribute.:sessionId - ID of the session to route the command to.name - {string} The window to change focus to.NoSuchWindow - If the window specified by name cannot be found.:sessionId - ID of the session to route the command to.NoSuchWindow - If the currently selected window is already closed:sessionId - ID of the session to route the command to.width - {number} The new window width.height - {number} The new window height.:sessionId - ID of the session to route the command to.{width: number, height: number} The size of the window.NoSuchWindow - If the specified window cannot be found.:sessionId - ID of the session to route the command to.x - {number} The X coordinate to position the window at, relative to the upper left corner of the screen.y - {number} The Y coordinate to position the window at, relative to the upper left corner of the screen.NoSuchWindow - If the specified window cannot be found.:sessionId - ID of the session to route the command to.{x: number, y: number} The X and Y coordinates for the window, relative to the upper left corner of the screen.NoSuchWindow - If the specified window cannot be found.:sessionId - ID of the session to route the command to.NoSuchWindow - If the specified window cannot be found.:sessionId - ID of the session to route the command to.{Array.<object>} A list of cookies.NoSuchWindow - If the currently selected window has been closed."/". Likewise, if the domain is omitted, it should default to the current page's domain.:sessionId - ID of the session to route the command to.cookie - {object} A JSON object defining the cookie to add.:sessionId - ID of the session to route the command to.InvalidCookieDomain - If the cookie's domain is not visible from the current page.NoSuchWindow - If the currently selected window has been closed.UnableToSetCookie - If attempting to set a cookie on a page that does not support cookies (e.g. pages with mime-type text/plain).:sessionId - ID of the session to route the command to.:name - The name of the cookie to delete.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.{string} The current page source.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.{string} The current page title.NoSuchWindow - If the currently selected window has been closed.| Strategy | Description |
|---|---|
| class name | Returns an element whose class name contains the search value; compound class names are not permitted. |
| css selector | Returns an element matching a CSS selector. |
| id | Returns an element whose ID attribute matches the search value. |
| name | Returns an element whose NAME attribute matches the search value. |
| link text | Returns an anchor element whose visible text matches the search value. |
| partial link text | Returns an anchor element whose visible text partially matches the search value. |
| tag name | Returns an element whose tag name matches the search value. |
| xpath | Returns an element matching an XPath expression. |
:sessionId - ID of the session to route the command to.using - {string} The locator strategy to use.value - {string} The The search target.{ELEMENT:string} A WebElement JSON object for the located element.NoSuchWindow - If the currently selected window has been closed.NoSuchElement - If the element cannot be found.XPathLookupError - If using XPath and the input expression is invalid.| Strategy | Description |
|---|---|
| class name | Returns all elements whose class name contains the search value; compound class names are not permitted. |
| css selector | Returns all elements matching a CSS selector. |
| id | Returns all elements whose ID attribute matches the search value. |
| name | Returns all elements whose NAME attribute matches the search value. |
| link text | Returns all anchor elements whose visible text matches the search value. |
| partial link text | Returns all anchor elements whose visible text partially matches the search value. |
| tag name | Returns all elements whose tag name matches the search value. |
| xpath | Returns all elements matching an XPath expression. |
:sessionId - ID of the session to route the command to.using - {string} The locator strategy to use.value - {string} The The search target.{Array.<{ELEMENT:string}>} A list of WebElement JSON objects for the located elements.NoSuchWindow - If the currently selected window has been closed.XPathLookupError - If using XPath and the input expression is invalid.:sessionId - ID of the session to route the command to.{ELEMENT:string} A WebElement JSON object for the active element.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.:id - ID of the element to route the command to.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If the element referenced by :id is no longer attached to the page's DOM.| Strategy | Description |
|---|---|
| class name | Returns an element whose class name contains the search value; compound class names are not permitted. |
| css selector | Returns an element matching a CSS selector. |
| id | Returns an element whose ID attribute matches the search value. |
| name | Returns an element whose NAME attribute matches the search value. |
| link text | Returns an anchor element whose visible text matches the search value. |
| partial link text | Returns an anchor element whose visible text partially matches the search value. |
| tag name | Returns an element whose tag name matches the search value. |
| xpath | Returns an element matching an XPath expression. The provided XPath expression must be applied to the server "as is"; if the expression is not relative to the element root, the server should not modify it. Consequently, an XPath query may return elements not contained in the root element's subtree. |
:sessionId - ID of the session to route the command to.:id - ID of the element to route the command to.using - {string} The locator strategy to use.value - {string} The The search target.{ELEMENT:string} A WebElement JSON object for the located element.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If the element referenced by :id is no longer attached to the page's DOM.NoSuchElement - If the element cannot be found.XPathLookupError - If using XPath and the input expression is invalid.| Strategy | Description |
|---|---|
| class name | Returns all elements whose class name contains the search value; compound class names are not permitted. |
| css selector | Returns all elements matching a CSS selector. |
| id | Returns all elements whose ID attribute matches the search value. |
| name | Returns all elements whose NAME attribute matches the search value. |
| link text | Returns all anchor elements whose visible text matches the search value. |
| partial link text | Returns all anchor elements whose visible text partially matches the search value. |
| tag name | Returns all elements whose tag name matches the search value. |
| xpath | Returns all elements matching an XPath expression. The provided XPath expression must be applied to the server "as is"; if the expression is not relative to the element root, the server should not modify it. Consequently, an XPath query may return elements not contained in the root element's subtree. |
:sessionId - ID of the session to route the command to.:id - ID of the element to route the command to.using - {string} The locator strategy to use.value - {string} The The search target.{Array.<{ELEMENT:string}>} A list of WebElement JSON objects for the located elements.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If the element referenced by :id is no longer attached to the page's DOM.XPathLookupError - If using XPath and the input expression is invalid.:sessionId - ID of the session to route the command to.:id - ID of the element to route the command to.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If the element referenced by :id is no longer attached to the page's DOM.ElementNotVisible - If the referenced element is not visible on the page (either is hidden by CSS, has 0-width, or has 0-height)FORM element. The submit command may also be applied to any element that is a descendant of a FORM element.:sessionId - ID of the session to route the command to.:id - ID of the element to route the command to.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If the element referenced by :id is no longer attached to the page's DOM.:sessionId - ID of the session to route the command to.:id - ID of the element to route the command to.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If the element referenced by :id is no longer attached to the page's DOM.
|
|
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 The return key is not the same as the enter key. |
NULL (U+E000) key is encountered.NULL key. Subsequently, all depressed modifier keys must be released (with corresponding keyup events) at the end of the sequence.:sessionId - ID of the session to route the command to.:id - ID of the element to route the command to.value - {Array.<string>} The sequence of keys to type. An array must be provided. The server should flatten the array items to a single string to be typed.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If the element referenced by :id is no longer attached to the page's DOM.ElementNotVisible - If the referenced element is not visible on the page (either is hidden by CSS, has 0-width, or has 0-height):sessionId - ID of the session to route the command to.value - {Array.<string>} The keys sequence to be sent. The sequence is defined in thesend keys command.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.:id - ID of the element to route the command to.{string} The element's tag name, as a lowercase string.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If the element referenced by :id is no longer attached to the page's DOM.TEXTAREA or text INPUT element's value.:sessionId - ID of the session to route the command to.:id - ID of the element to route the command to.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If the element referenced by :id is no longer attached to the page's DOM.ElementNotVisible - If the referenced element is not visible on the page (either is hidden by CSS, has 0-width, or has 0-height)InvalidElementState - If the referenced element is disabled.OPTION element, or an INPUT element of type checkbox or radiobutton is currently selected.:sessionId - ID of the session to route the command to.:id - ID of the element to route the command to.{boolean} Whether the element is selected.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If the element referenced by :id is no longer attached to the page's DOM.:sessionId - ID of the session to route the command to.:id - ID of the element to route the command to.{boolean} Whether the element is enabled.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If the element referenced by :id is no longer attached to the page's DOM.:sessionId - ID of the session to route the command to.:id - ID of the element to route the command to.{string|null} The value of the attribute, or null if it is not set on the element.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If the element referenced by :id is no longer attached to the page's DOM.:sessionId - ID of the session to route the command to.:id - ID of the element to route the command to.:other - ID of the element to compare against.{boolean} Whether the two IDs refer to the same element.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If either the element refered to by :id or :other is no longer attached to the page's DOM.:sessionId - ID of the session to route the command to.:id - ID of the element to route the command to.{boolean} Whether the element is displayed.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If the element referenced by :id is no longer attached to the page's DOM.(0, 0) refers to the upper-left corner of the page. The element's coordinates are returned as a JSON object with x and y properties.:sessionId - ID of the session to route the command to.:id - ID of the element to route the command to.{x:number, y:number} The X and Y coordinates for the element on the page.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If the element referenced by :id is no longer attached to the page's DOM.:sessionId - ID of the session to route the command to.:id - ID of the element to route the command to.{x:number, y:number} The X and Y coordinates for the element.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If the element referenced by :id is no longer attached to the page's DOM.width and height properties.:sessionId - ID of the session to route the command to.:id - ID of the element to route the command to.{width:number, height:number} The width and height of the element, in pixels.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If the element referenced by :id is no longer attached to the page's DOM.background-color instead of backgroundColor).:sessionId - ID of the session to route the command to.:id - ID of the element to route the command to.{string} The value of the specified CSS property.NoSuchWindow - If the currently selected window has been closed.StaleElementReference - If the element referenced by :id is no longer attached to the page's DOM.{LANDSCAPE|PORTRAIT}.:sessionId - ID of the session to route the command to.{string} The current browser orientation corresponding to a value defined in ScreenOrientation: {LANDSCAPE|PORTRAIT}.NoSuchWindow - If the currently selected window has been closed.{LANDSCAPE|PORTRAIT}.:sessionId - ID of the session to route the command to.orientation - {string} The new browser orientation as defined in ScreenOrientation: {LANDSCAPE|PORTRAIT}.NoSuchWindow - If the currently selected window has been closed.alert(), confirm(), or prompt() dialog.:sessionId - ID of the session to route the command to.{string} The text of the currently displayed alert.NoAlertPresent - If there is no alert displayed.prompt() dialog.:sessionId - ID of the session to route the command to.text - {string} Keystrokes to send to the prompt() dialog.NoAlertPresent - If there is no alert displayed.:sessionId - ID of the session to route the command to.NoAlertPresent - If there is no alert displayed.confirm() and prompt() dialogs, this is equivalent to clicking the 'Cancel' button. For alert() dialogs, this is equivalent to clicking the 'OK' button.:sessionId - ID of the session to route the command to.NoAlertPresent - If there is no alert displayed.:sessionId - ID of the session to route the command to.element - {string} Opaque ID assigned to the element to move to, as described in the WebElement JSON Object. If not specified or is null, the offset is relative to current position of the mouse.xoffset - {number} X offset to move to, relative to the top-left corner of the element. If not specified, the mouse will move to the middle of the element.yoffset - {number} Y offset to move to, relative to the top-left corner of the element. If not specified, the mouse will move to the middle of the element.:sessionId - ID of the session to route the command to.button - {number} Which button, enum: {LEFT = 0, MIDDLE = 1 , RIGHT = 2}. Defaults to the left mouse button if not specified.:sessionId - ID of the session to route the command to.button - {number} Which button, enum: {LEFT = 0, MIDDLE = 1 , RIGHT = 2}. Defaults to the left mouse button if not specified.:sessionId - ID of the session to route the command to.button - {number} Which button, enum: {LEFT = 0, MIDDLE = 1 , RIGHT = 2}. Defaults to the left mouse button if not specified.:sessionId - ID of the session to route the command to.:sessionId - ID of the session to route the command to.element - {string} ID of the element to single tap on.:sessionId - ID of the session to route the command to.x - {number} X coordinate on the screen.y - {number} Y coordinate on the screen.:sessionId - ID of the session to route the command to.x - {number} X coordinate on the screen.y - {number} Y coordinate on the screen.:sessionId - ID of the session to route the command to.x - {number} X coordinate on the screen.y - {number} Y coordinate on the screen.:sessionId - ID of the session to route the command to.element - {string} ID of the element where the scroll starts.xoffset - {number} The x offset in pixels to scroll by.yoffset - {number} The y offset in pixels to scroll by.:sessionId - ID of the session to route the command to.xoffset - {number} The x offset in pixels to scrollby.yoffset - {number} The y offset in pixels to scrollby.:sessionId - ID of the session to route the command to.element - {string} ID of the element to double tap on.:sessionId - ID of the session to route the command to.element - {string} ID of the element to long press on.:sessionId - ID of the session to route the command to.element - {string} ID of the element where the flick starts.xoffset - {number} The x offset in pixels to flick by.yoffset - {number} The y offset in pixels to flick by.speed - {number} The speed in pixels per seconds.:sessionId - ID of the session to route the command to.xspeed - {number} The x speed in pixels per second.yspeed - {number} The y speed in pixels per second.:sessionId - ID of the session to route the command to.{latitude: number, longitude: number, altitude: number} The current geo location.:sessionId - ID of the session to route the command to.location - {latitude: number, longitude: number, altitude: number} The new location.:sessionId - ID of the session to route the command to.{Array.<string>} The list of keys.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.key - {string} The key to set.value - {string} The value to set.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.:key - The key to get.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.:key - The key to remove.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.{number} The number of items in the storage.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.{Array.<string>} The list of keys.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.key - {string} The key to set.value - {string} The value to set.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.:key - The key to get.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.:key - The key to remove.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.{number} The number of items in the storage.NoSuchWindow - If the currently selected window has been closed.:sessionId - ID of the session to route the command to.type - {string} The log type. This must be provided.{Array.<object>} The list of log entries.:sessionId - ID of the session to route the command to.{Array.<string>} The list of available log types.:sessionId - ID of the session to route the command to.{number} Status code for application cache: {UNCACHED = 0, IDLE = 1, CHECKING = 2, DOWNLOADING = 3, UPDATE_READY = 4, OBSOLETE = 5}