import json
from notte_sdk import NotteClient
notte = NotteClient()
with notte.Session() as session:
# perform some operation that creates cookies
# ...
# then save the cookies to json
cookies = session.get_cookies()
with open("cookies.json", "w") as f:
json.dump(cookies, f){
"cookies": [
{
"name": "<string>",
"value": "<string>",
"domain": "<string>",
"path": "<string>",
"httpOnly": true,
"expirationDate": 123,
"hostOnly": true,
"sameSite": "Lax",
"secure": true,
"session": true,
"storeId": "<string>",
"expires": 123,
"partitionKey": "<string>"
}
]
}import json
from notte_sdk import NotteClient
notte = NotteClient()
with notte.Session() as session:
# perform some operation that creates cookies
# ...
# then save the cookies to json
cookies = session.get_cookies()
with open("cookies.json", "w") as f:
json.dump(cookies, f){
"cookies": [
{
"name": "<string>",
"value": "<string>",
"domain": "<string>",
"path": "<string>",
"httpOnly": true,
"expirationDate": 123,
"hostOnly": true,
"sameSite": "Lax",
"secure": true,
"session": true,
"storeId": "<string>",
"expires": 123,
"partitionKey": "<string>"
}
]
}Documentation Index
Fetch the complete documentation index at: https://notte-experiment-visibility-md-links.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response
Show child attributes
Was this page helpful?