localStorageSize

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.

Usage

1
browser.localStorageSize();

Returns

  • <Number>: The number of items in the storage.