Class 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.Path path
      The file path to save the storage state to.
    • Field Detail

      • path

        public java.nio.file.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 APIRequestContext.StorageStateOptions setPath​(java.nio.file.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.