private static void loadWebDriverInfo() {
    String tmpDir = RuntimeConfig.getOS().getFileSeparator();

    tmpDir = tmpDir + "tmp" + RuntimeConfig.getOS().getFileSeparator();

    config.getWebdriver().setDirectory(tmpDir + "webdriver");
    config.getWebdriver().setVersion(DefaultConfig.getWebDriverDefaultVersion());
  }
  private static void loadIEDriverInfo() {
    String tmpDir;

    tmpDir = config.getWebdriver().getDirectory() + RuntimeConfig.getOS().getFileSeparator();

    config.getIEdriver().setDirectory(tmpDir + "iedriver");
    config.getIEdriver().setVersion(getIeDriverDefaultVersion());
    config.getIEdriver().setBit("Win32");
  }
  private static void setGridHubConfig() {
    config.getHub().setRole("hub");
    config.getHub().setPort("4444");
    config
        .getHub()
        .setServlets(
            "com.groupon.seleniumgridextras.grid.servlets.SeleniumGridExtrasServlet,com.groupon.seleniumgridextras.grid.servlets.ProxyStatusJsonServlet");

    String hostIp = RuntimeConfig.getOS().getHostIp();
    if (hostIp != null) {
      config.getHub().setHost(hostIp);
    }
  }