SafariDriver FileDetector Property WebDriver
Gets or sets the IFileDetector responsible for detecting sequences of keystrokes representing file paths and names.

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

public override IFileDetector FileDetector { get; set; }

Implements

IAllowsFileDetection FileDetector
Remarks

The Safari driver does not allow a file detector to be set, as the server component of the Safari driver (the Safari extension) only allows uploads from the local computer environment. Attempting to set this property has no effect, but does not throw an exception. If you are attempting to run the Safari driver remotely, use RemoteWebDriver in conjunction with a standalone WebDriver server.
See Also