@Transient
  public String getDriverString() {
    String driverString = "";
    switch (this.getBrowserName()) {
      // Selenium
      case BrowserType.CHROME:
        if (this.getPathToDriver() != null && this.getPathToDriver() != "") {
          driverString = "-Dwebdriver.chrome.driver=" + this.getPathToDriver();
        } else {
          driverString = "-Dwebdriver.chrome.driver=./chromedriver";
        }

        break;
      case BrowserType.FIREFOX:
        if (this.getPathToDriver() != null && this.getPathToDriver() != "") {
          driverString = "-Dwebdriver.gecko.driver=" + this.getPathToDriver();
        } else {
          driverString = "-Dwebdriver.gecko.driver=./geckodriver";
        }
        break;
    }
    return driverString;
  }
Gets the driver string.

@return the driver string
KITE-Framework/src/main/java/org/webrtc/kite/config/client/BrowserSpecs.java