@testim/testim-cli
Version:
Command line interface for running Testing on you CI
18 lines (15 loc) • 408 B
JavaScript
/**
*
* Protocol bindings to get the session storage size.
*
* @returns {Number} The number of items in the storage.
*
* @see https://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/session_storage/size
* @type protocol
*
*/
module.exports = function sessionStorageSize () {
return this.requestHandler.create(
'/session/:sessionId/session_storage/size'
);
};