Table of Contents

Class LocalFileDetector

Namespace
OpenQA.Selenium.Remote
Assembly
WebDriver.dll

Represents a file detector for determining whether a file must be uploaded to a remote server.

public class LocalFileDetector : IFileDetector
Inheritance
LocalFileDetector
Implements
Inherited Members

Methods

IsFile(string?)

Returns a value indicating whether a specified key sequence represents a file name and path.

public bool IsFile(string? keySequence)

Parameters

keySequence string

The sequence to test for file existence.

Returns

bool

true if the key sequence represents a file; otherwise, false.