class Playwright::BrowserContext::StorageStateOptions
- Playwright::BrowserContext::StorageStateOptions
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
playwright/browsercontext.crConstructors
Instance Method Summary
-
#path : Path | Nil
The file path to save the storage state to.
-
#path=(path : Path | Nil)
The file path to save the storage state to.
Constructor Detail
Instance Method Detail
def path : Path | Nil
#
The file path to save the storage state to. If #path
is a relative path, then it is resolved relative to current working directory. If no path is provided, storage state is still returned, but won't be saved to the disk.