MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / buildCookieMap

Function buildCookieMap

javascript/selenium-webdriver/test/cookie_test.js:290–296  ·  view source on GitHub ↗
(cookies)

Source from the content-addressed store, hash-verified

288 }
289
290 function buildCookieMap(cookies) {
291 const map = {}
292 cookies.forEach(function (cookie) {
293 map[cookie.name] = cookie
294 })
295 return map
296 }
297
298 function assertHasCookies(...expected) {
299 return driver

Callers 1

assertHasCookiesFunction · 0.70

Calls 1

forEachMethod · 0.45

Tested by

no test coverage detected