diff --git a/javascript/node/selenium-webdriver/bidi/continueRequestParameters.js b/javascript/node/selenium-webdriver/bidi/continueRequestParameters.js index 9029f1f14bdb0..6931192796e2c 100644 --- a/javascript/node/selenium-webdriver/bidi/continueRequestParameters.js +++ b/javascript/node/selenium-webdriver/bidi/continueRequestParameters.js @@ -54,7 +54,7 @@ class ContinueRequestParameters { headerList.push(Object.fromEntries(header.asMap())) }) - this.#map.set('cookies', headerList) + this.#map.set('headers', headerList) return this } diff --git a/javascript/node/selenium-webdriver/bidi/continueResponseParameters.js b/javascript/node/selenium-webdriver/bidi/continueResponseParameters.js index 505cb083b0c4e..208ba6e499487 100644 --- a/javascript/node/selenium-webdriver/bidi/continueResponseParameters.js +++ b/javascript/node/selenium-webdriver/bidi/continueResponseParameters.js @@ -60,7 +60,7 @@ class ContinueResponseParameters { headerList.push(Object.fromEntries(header.asMap())) }) - this.#map.set('cookies', headerList) + this.#map.set('headers', headerList) return this }