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

Namespace: OpenQA.Selenium.Chrome
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0

public override IFileDetector FileDetector { get; set; }

Property Value

Type: IFileDetector



The Chrome driver does not allow a file detector to be set, as the server component of the Chrome driver (ChromeDriver.exe) 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 Chrome driver remotely, use RemoteWebDriver in conjunction with a standalone WebDriver server.
See Also