Method: Playwright::BrowserContext#storage_state
- Defined in:
- lib/playwright_api/browser_context.rb
#storage_state(indexedDB: nil, path: nil) ⇒ Object
Returns storage state for this browser context, contains current cookies, local storage snapshot and IndexedDB snapshot.
408 409 410 |
# File 'lib/playwright_api/browser_context.rb', line 408 def storage_state(indexedDB: nil, path: nil) wrap_impl(@impl.storage_state(indexedDB: unwrap_impl(indexedDB), path: unwrap_impl(path))) end |