Class FileSystemAdapter
- Namespace
- OpenQA.Selenium.DevTools.V141.FileSystem
- Assembly
- WebDriver.dll
Represents an adapter for the FileSystem domain to simplify the command interface.
public class FileSystemAdapter- Inheritance
- 
      
      FileSystemAdapter
- Inherited Members
Constructors
FileSystemAdapter(IDevToolsSession)
Initializes a new instance of the FileSystemAdapter class.
public FileSystemAdapter(IDevToolsSession session)Parameters
- sessionIDevToolsSession
- The IDevToolsSession to be used with this adapter. 
Exceptions
- ArgumentNullException
- If - sessionis null.
Properties
Session
Gets the DevToolsSession associated with the adapter.
public IDevToolsSession Session { get; }Property Value
Methods
GetDirectory(GetDirectoryCommandSettings, CancellationToken, int?, bool)
getDirectory
public Task<GetDirectoryCommandResponse> GetDirectory(GetDirectoryCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandGetDirectoryCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool