code: private RemoteWebDriver tuneDriver(RemoteWebDriver driver, String name) {
          DriverHolder.setDriverName(name);
          driver.setFileDetector(new LocalFileDetector());
          return driver;
      }
docs: Final tuning for a driver
  <p>
  Setting a file detector for a driver
  and setting a driver name to SeleniumHolder
  
  @param driver - instance of a RemoteWebDriver
  @param name   - driver name
  @return driver with LocalFileDetector as a fileDetector