Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Address (URL)StringNoPage to open.
BrowserStringNoedgedefault: 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).
HeadlessBooleanNofalseRun without a visible window (for unattended agents).
Download folderFileNoWhere downloads are saved.
SessionStringNobrowserSession name.
Keep the browser open after the runBooleanNotrueEdge 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.
EngineStringNoautoconnector: 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 inStringNonew_windownew_window: a new browser window; new_tab: a new tab next to the chosen one; existing_tab: load the address in the chosen tab.
WindowDictionaryNoFor 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)NumberNo240000How long to wait for the page to load.