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

Function testBuildPath

javascript/webdriver/test/http/http_test.js:104–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102///////////////////////////////////////////////////////////////////////////////
103
104function testBuildPath() {
105 var parameters = {'sessionId':'foo', 'url':'http://www.google.com'};
106 var finalPath = webdriver.http.Executor.buildPath_(
107 '/session/:sessionId/url', parameters);
108 assertEquals('/session/foo/url', finalPath);
109 webdriver.test.testutil.assertObjectEquals({'url':'http://www.google.com'},
110 parameters);
111}
112
113function testBuildPath_withWebElement() {
114 var parameters = {'sessionId':'foo', 'id': {}};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected