Create Browser Session
create_browser_sessionMint a verified Playwright browser session for a ServiceNow auth alias by logging in with stored credentials, validating cookies, and saving them as a storage-state file; returns only the file path.
Instructions
Mint a verified Playwright browser session for an instance alias, as nex auth browser-session does: log in with the alias's stored credential, prove the cookies work on their own, and save them as a Playwright storage-state file (owner-only, 0600) in this server's session directory. Returns the file's path, never the cookies. The session has the user's full rights in the UI, outside this server's change policy, so it is refused when changes are not permitted. Never print, read out or commit the file, and delete it with delete_browser_session when the browser work is done.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | File name, without extension. Default: the alias and a timestamp. | |
| instance | No | The ServiceNow instance auth alias to connect to. This is the alias configured via `snc configure` (e.g., "myinstance", "prod", "test"). The user will typically refer to this by name when saying things like "on my myinstance instance". If not provided, falls back to the SN_AUTH_ALIAS environment variable. |