browser_save_profile
Browser Save Profile
Save the current context state (fingerprints, cookies, settings) to a profile file on the server. Takes a profile_name (not path) and returns the filename. Use browser_download_profile to retrieve the file.
Usage Example
123456789101112
import asyncio
from owl_browser import OwlBrowser, RemoteConfig
# Async usage
async with OwlBrowser(config) as browser:
context = await browser.create_context()
context_id = context["context_id"]
await browser.save_profile(
context_id=context_id,
profile_name="value"
)
Parameters
Required
context_idstringrequiredThe unique identifier of the browser context to save (e.g., 'ctx_000001')
profile_namestringrequiredName for the saved profile file (without path). Example: 'shopping_account', 'test_user_1'. The .json extension will be added automatically. Returns the filename that can be used with browser_download_profile.
Response
Returns a JSON object with the operation result.
{
"success": true,
"result": <value>
}