UNPKG

webdriverio-workflo

Version:

This is a customized version of webdriverio for use with workflo framework.

16 lines (14 loc) 488 B
/** * * protocol bindings to get local_storage size. This command is not part of the official Webdriver * specification and might not be supported for your browser. * * @return {Number} The number of items in the storage. * * @see https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidlocal_storagesize * @type protocol * */ export default function localStorageSize () { return this.requestHandler.create('/session/:sessionId/local_storage/size') }