get_all_cookies
The command to get all cookies in the current browser session.
Syntax
py.get_all_cookies() -> List[Dict]Usage
py.get_all_cookies()
---or--- # store in a variable
cookies = py.get_all_cookies()Arguments
None
Yields
List[Dict]A list of cookie objects. Each cookie object has the following properties:namevaluepathdomainhttpOnlysecureexpiry
Examples
Last updated