public static class BrowserContext.StorageStateOptions extends Object
| Modifier and Type | Field and Description |
|---|---|
Path |
path
The file path to save the storage state to.
|
| Constructor and Description |
|---|
StorageStateOptions() |
public Path path
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.public BrowserContext.StorageStateOptions setPath(Path path)
Copyright © 2021. All rights reserved.