File tree 1 file changed +4
-3
lines changed
py/selenium/webdriver/remote
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -639,8 +639,8 @@ def get_cookies(self) -> List[dict]:
639
639
return self .execute (Command .GET_ALL_COOKIES )["value" ]
640
640
641
641
def get_cookie (self , name ) -> Optional [Dict ]:
642
- """Get a single cookie by name. Raises ValueError if the name is empty or whitespace.
643
- Returns the cookie if found, None if not.
642
+ """Get a single cookie by name. Raises ValueError if the name is empty
643
+ or whitespace. Returns the cookie if found, None if not.
644
644
645
645
:Usage:
646
646
::
@@ -659,7 +659,8 @@ def get_cookie(self, name) -> Optional[Dict]:
659
659
return None
660
660
661
661
def delete_cookie (self , name ) -> None :
662
- """Deletes a single cookie with the given name. Raises ValueError if the name is empty or whitespace.
662
+ """Deletes a single cookie with the given name. Raises ValueError if
663
+ the name is empty or whitespace.
663
664
664
665
:Usage:
665
666
::
You can’t perform that action at this time.
0 commit comments