Skip to content

Commit fe6c189

Browse files
committed
[py] add httpOnly to the list of optional keys for the cookie_dict
1 parent 6298929 commit fe6c189

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/selenium/webdriver/remote/webdriver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ def add_cookie(self, cookie_dict) -> None:
11151115
11161116
:Args:
11171117
- cookie_dict: A dictionary object, with required keys - "name" and "value";
1118-
optional keys - "path", "domain", "secure", "expiry", "sameSite"
1118+
optional keys - "path", "domain", "secure", "httpOnly", "expiry", "sameSite"
11191119
11201120
Usage:
11211121
driver.add_cookie({'name' : 'foo', 'value' : 'bar'})

0 commit comments

Comments
 (0)