Package com.microsoft.playwright
Class BrowserContext.StorageStateOptions
java.lang.Object
com.microsoft.playwright.BrowserContext.StorageStateOptions
- Enclosing interface:
BrowserContext
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe file path to save the storage state to.
-
Field Details
-
path
The file path to save the storage state to. Ifpathis 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.
-
-
Constructor Details
-
StorageStateOptions
public StorageStateOptions()
-
-
Method Details
-
setPath
The file path to save the storage state to. Ifpathis 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.
-