MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / Builder

Function Builder

javascript/webdriver/http/http.js:347–358  ·  view source on GitHub ↗

@constructor

()

Source from the content-addressed store, hash-verified

345
346 /** @constructor */
347 function Builder() {
348 var map = {};
349
350 this.put = function(name, resource) {
351 map[name] = resource;
352 return this;
353 };
354
355 this.build = function() {
356 return map;
357 };
358 }
359
360 function post(path) { return resource('POST', path); }
361 function del(path) { return resource('DELETE', path); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected