code: public String getSeleniumScript(String name) {
      String rawFunction = readScript(PREFIX + name);
  
      return String.format("function() { return (%s).apply(null, arguments);}",
                           rawFunction);
    }
docs: Loads the named Selenium script and returns it wrapped in an anonymous function.
  
  @param name The script to load.
  @return The loaded script wrapped in an anonymous function.