Skip to content

Commit 990b4de

Browse files
authored
Modify: Resolve issue #6292 (#8062)
Signed-off-by: Sri Harsha <[email protected]>
1 parent d9d17eb commit 990b4de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

javascript/node/selenium-webdriver/lib/webdriver.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,8 @@ class Options {
11881188
*
11891189
* @param {string} name The name of the cookie to retrieve.
11901190
* @return {!Promise<?Options.Cookie>} A promise that will be resolved
1191-
* with the named cookie, or `null` if there is no such cookie.
1191+
* with the named cookie
1192+
* @throws {error.NoSuchCookieError} if there is no such cookie.
11921193
*/
11931194
async getCookie(name) {
11941195
try {

0 commit comments

Comments
 (0)