Method: Playwright::BrowserContext#storage_state

Defined in:
lib/playwright_api/browser_context.rb

#storage_state(path: nil) ⇒ Object

Returns storage state for this browser context, contains current cookies and local storage snapshot.



331
332
333
# File 'lib/playwright_api/browser_context.rb', line 331

def storage_state(path: nil)
  wrap_impl(@impl.storage_state(path: unwrap_impl(path)))
end