Package com.microsoft.playwright
Class BrowserContext.StorageStateOptions
- java.lang.Object
-
- com.microsoft.playwright.BrowserContext.StorageStateOptions
-
- Enclosing interface:
- BrowserContext
public static class BrowserContext.StorageStateOptions extends Object
-
-
Constructor Summary
Constructors Constructor Description StorageStateOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BrowserContext.StorageStateOptions
setPath(Path path)
The file path to save the storage state to.
-
-
-
Field Detail
-
path
public Path path
The file path to save the storage state to. Ifpath
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.
-
-
Method Detail
-
setPath
public BrowserContext.StorageStateOptions setPath(Path path)
The file path to save the storage state to. Ifpath
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.
-
-