π§ Browser Config
Browser Config controls the browser state both agents rely on:- Coverage agent: uses Browser Config plus the Coverage-only Prompt formatting settings described below.
- Browser agent: uses the same Browser Config (environment, locale, session state, highlighting).

Config tab (Coverage + Browser agents)
Use the Config tab to set the shared browser defaults both agents consume.
- Environment selector β pick which environment this config belongs to (e.g.,
todo dev). - Browser Options
Highlight Elementstoggles visual cues for the agent when you provide labeled selectors.Headless Mode(currently disabled) controls whether runs show a visible browser.
- Browser Locale β choose the language/region so copy and formatting stay consistent.
- Session State uploads
Cookiesβ upload a JSON export of authenticated cookies.Storage Stateβ upload JSON with theoriginsblock (localStorage/sessionStorage).
- Save the page to lock in the config for this environment.
β¨ Result: Both agents start with the right session, locale, and highlighted elementsβno brittle logins or locale drift.
Prompt formatting (Coverage only)
Coverage runs include a Prompt formatting tab to shape the Browser Prompt Coverage sends to the Browser agent after generating workflows.
prompt_config means: it defines the exact sections and labels the end user sees in the Browser Prompt produced by the Coverage agent (for example: Description, Preconditions, Steps, Validation). Only customized values are saved; leaving a field blank keeps the Nota defaults.
- Section Labels: Rename headings like
description,preconditions,steps,expected_resultto match your teamβs voice. Default fields stay required, but you can add/remove custom ones. - Rules Block: Set shared rules that will be appended to every Browser Prompt (e.g., accessibility notes, data handling, element naming guidance).
- Reset to defaults: Clears your overrides and returns to Nota defaults.
Capture cookies and storage with Playwright
Playwright can export both cookies and local storage in a singlestorageState file. Hereβs a quick workflow to produce it:
- Log in and reach the screen your workflow should begin on.
- Close the codegen sessionβPlaywright saves
team-env-storage-state.jsonwith cookies and localStorage embedded.
team-env-storage-state.json (storage state) and team-env-cookies.json (cookies). The storage file keeps only the origins block so it aligns with Notaβs storage upload expectations. Keep both under source control alongside the environment they belong to.
If you start with a --save-storage export from codegen, duplicate it and remove either the cookies or origins section so each upload uses a dedicated file.
Playwright JSON formats
Playwright expects the saved files to match the shapes it produces viacontext.storageState() and context.cookies(). The script above writes them in this form:
cookies.json
storage-state.json
- Cookies upload: Provide an array of cookie objects with the Playwright keys (
name,value,domain, etc.). Generate it withcontext.cookies()if you prefer an automated export. - Storage upload: Provide an object with an
originsarray. Each origin lists the URL plus thelocalStorageand optionalsessionStorageentries to restore. - Multiple domains: Add another object to either array for every domain you need to restore state for (
https://admin.trynota.ai,https://analytics.trynota.ai, etc.).
Upload to Nota
- Open Settings β Browser Config β Config.
- Select the environment this state belongs to.
- Toggle Highlight Elements if you want on-screen hints for labeled selectors.
- Set the Browser Locale you expect in runs.
- Upload
team-env-storage-state.jsoninto Storage State. - Upload
team-env-cookies.jsoninto Cookies. - Add highlighted element mappings (selector + friendly name) for critical UI.
- Save the config. Both Coverage and Browser agents now start with this state.
- (Coverage only) Switch to Prompt formatting to adjust section labels/rules before Coverage hands prompts to the Browser agent.
Use cases & benefits
- Skip repetitive logins: Start every workflow already authenticated inside the dashboard.
- Protect gated features: Preserve feature-flag states or onboarding checkpoints stored in localStorage.
- Regional testing: Lock the locale to evaluate translations, currency formats, or EU-specific flows.
- Agent guidance: Highlight critical selectors (
Add to cart,Submit order) so the AI focuses on the right actions. - Parallel reliability: Every run gets the same frozen session state, reducing flakiness from rate limits or session throttles.
Keep It Fresh
- Re-export after password or SSO changes to avoid expired sessions.
- Version your JSON files alongside environment docs so teammates know which state is current.
- Pair with Rotation Rules if session tokens expire; regenerate the storage-state JSON after each rotation window.

