Open browser
Start a browser, optionally open a URL, as a named session.
Command in the Browser toolkit · id ooa.browser/open · 10 inputs, no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Address (URL) | String | No | Page to open. | |
| Browser | String | No | edge | default: the browser Windows opens web links with (G4); edge and chrome use the installed browser; chromium and firefox are downloaded by Playwright the first time they are used (about 150 MB). |
| Headless | Boolean | No | false | Run without a visible window (for unattended agents). |
| Download folder | File | No | Where downloads are saved. | |
| Session | String | No | browser | Session name. |
| Keep the browser open after the run | Boolean | No | true | Edge and Chrome: leave the window open when the agent ends (only Close browser closes it), and let OneAgentStudio and later agents reach it. False closes the browser with the run, as before. |
| Engine | String | No | auto | connector: open a window in the person's own Edge, Chrome or Firefox through the ONEOFFICEAUTOMATION Browser Connector extension; playwright: a browser the agent starts itself; auto: the connector when that browser has it, else playwright. |
| Open in | String | No | new_window | new_window: a new browser window; new_tab: a new tab next to the chosen one; existing_tab: load the address in the chosen tab. |
| Window | Dictionary | No | For new_tab and existing_tab: the tab to use. Which window to act in. Leave empty to use the session's current tab. {"source": "browser", "title": "Invoice * - Shop", "title_match": "wildcard", "url": "...", "url_match": "contains", "browser": "edge"} switches to the first open tab whose title and/or address matches (also in attached browsers, and in one listening on port 9222); {"source": "variable", "variable": "session name"} uses that browser session; {"source": "application", "title": "..."} names a desktop window, which works only when it is a window of an attached browser. Matches: wildcard (default for the title), contains (default for the address), equals or regex; text matches ignore case. Values may use variables. | |
| Wait up to (milliseconds) | Number | No | 240000 | How long to wait for the page to load. |