code: private InstanceType determineType(List<String> commands) {
          LOGGER.entering(commands.toString());
          type = InstanceType.SELENIUM_STANDALONE;
          if (commands.contains(ROLE_ARG) && commands.contains(InstanceType.SELENIUM_NODE.getFriendlyName())) {
              type = InstanceType.SELENIUM_NODE;
          }
          if (commands.contains(ROLE_ARG) && commands.contains(InstanceType.SELENIUM_HUB.getFriendlyName())) {
              type = InstanceType.SELENIUM_HUB;
          }
          LOGGER.exiting(type);
          return type;
      }
docs: Return the {@link InstanceType}. Defaults to {@link InstanceType#SELENIUM_STANDALONE}. Does not work or mobile
  instance types.
  
  @param commands
  command line arguments passed from User
  @return an {@link InstanceType}