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