code: public String generateScriptContent(int port, String aut, String opaqueKey,
                                        CommunicationMode mode,boolean acceptSslCerts) {
      StringBuilder scriptContent = new StringBuilder();
  
      scriptContent.append(Joiner.on("\n").join(
          "/* Script configuration parameters. */",
          String.format("var CONFIG_PORT = %d;", port),
          String.format("var CONFIG_AUT = \"%s\";", aut),
          String.format("var CONFIG_MODE = \"%s\";", mode),
          String.format("var CONFIG_SESSION = \"%s\";", opaqueKey),
          String.format("var ACCEPT_SSL_CERTS = %s;", acceptSslCerts),
          ""
      ));
  
      for (String lib : libs) {
        scriptContent.append(load(lib));
      }
  
      return scriptContent.toString();
    }
docs: TODO freynaud AUT is only used for the capabilities. It should be a response decorator of getCaps