IFileDetector IsFile Method WebDriver
Returns a value indicating whether a specified key sequence represents a file name and path.

Namespace: OpenQA.Selenium
Assembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

bool IsFile(
	string keySequence
)

Parameters

keySequence
Type: OnlineSystem String
The sequence to test for file existence.

Return Value

  if the key sequence represents a file; otherwise,  .
See Also