Class FileSystemAdapter
- Namespace
- OpenQA.Selenium.DevTools.V134.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
session
IDevToolsSessionThe IDevToolsSession to be used with this adapter.
Exceptions
- ArgumentNullException
If
session
is 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
command
GetDirectoryCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool