Class BrowserContext.StorageStateOptions

  • Enclosing interface:
    BrowserContext

    public static class BrowserContext.StorageStateOptions
    extends Object
    • Field Detail

      • path

        public Path path
        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.
    • Constructor Detail

      • StorageStateOptions

        public StorageStateOptions()
    • Method Detail

      • setPath

        public BrowserContext.StorageStateOptions setPath​(Path path)
        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.