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

Namespace: OpenQA.Selenium.PhantomJS
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 PhantomJS driver does not allow a file detector to be set, as PhantomJS 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 PhantomJS driver remotely, use RemoteWebDriver in conjunction with a standalone WebDriver server.
See Also