INNER CODE UNIT · Python
browser_open
feder-cr/Jobs_Applier_AI_Agent_AIHawk · src/aihawk/mcp/server.py:300
async def browser_open(browser: Browser = None, seed: int | None = None,
proxy: str | None = None, profile: str | None = None) -> str:
"""Open `main` or `support`, or reopen one as somebody else.
`support` is yours to manage: open it when the task needs a second
identity, and close it with browser_close as soon as the task no longer
needs it, before you answer. It is not saved.
Called on a browser that is already up, this REOPENS it with the settings
given, and what it held is gone.
seed the identity; same seed, same fingerprint. Left out, one is drawn.
profile a directory keeping cookies, logins and the seed between opens;
"" means none. It keeps the SEED too, so a login does not come
back on different hardware every visit.
proxy the exit, `http://user:pass@host:port` or `socks5://host:port`;
"" means this machine's own address; left out for `support`, it
shares the exit `main` has. A profile does NOT pin its exit, and