Contents

Launch and stop a profile

A launch starts the Ombra browser for one profile and returns the CDP address. Stop the browser when the script is done so the profile slot is released.

Updated: 3 min read

The manager reference covers retired releases. The local manager has no published installer. Profile manager status

On this page

Start a profile

Send the identifier of the version to the start method: profile_id or profile_no in v2, user_id or serial_number in v1. The v2 path is /api/v2/browser-profile/start; the v1 equivalent is /api/v1/browser/start. The profile must exist and the browser build must be installed. The browser opens with the stored fingerprint, proxy and start pages; the request does not change those settings.

Start a profile
curl -X POST http://127.0.0.1:45678/api/v2/browser-profile/start \
  -H 'Content-Type: application/json' \
  -d '{"profile_id":"YOUR_PROFILE_ID"}'

A successful call starts the browser and returns the launch data. If the profile is already running, the call attaches to that browser and returns its launch data instead of opening a second window.

Read the launch response

Launch response
{
  "code": 0,
  "msg": "success",
  "data": {
    "ws": {
      "puppeteer": "ws://127.0.0.1:PORT/devtools/browser/BROWSER_ID",
      "selenium": "127.0.0.1:PORT"
    },
    "debug_port": "PORT",
    "webdriver": ""
  }
}

data.ws.puppeteer is the CDP WebSocket address. data.ws.selenium is 127.0.0.1:<debug_port> for clients that take a host and port. debug_port is a string. webdriver is empty because Ombra does not ship chromedriver; do not wait for a path in that field. The WebSocket is valid while this browser is running; if the profile is already running, start returns the existing address. The debug port is not the Local API port; do not send API requests to it.

Check the active state

The active method reports whether a profile has a running browser. The v2 path is /api/v2/browser-profile/active; v1 uses /api/v1/browser/active, and /api/v1/browser/local-active lists locally active profiles. A running profile is reported with status: "Active". A paused profile whose browser is still open also reports Active, because the slot is still occupied.

Call active before start in scripts that may run twice. It shows whether the profile is already attached to a browser and whether the previous stop is complete.

Stop a profile

Pass the same identifier to the stop method: profile_id in v2, or user_id or serial_number in v1. Use /api/v2/browser-profile/stop in v2 or /api/v1/browser/stop in v1. Stopping ends the browser and releases profile resources.

Stop a profile
curl -X POST http://127.0.0.1:45678/api/v2/browser-profile/stop \
  -H 'Content-Type: application/json' \
  -d '{"profile_id":"YOUR_PROFILE_ID"}'

Closing the browser window also ends the session, but an explicit stop is easier to log and retry. After a crash, the slot can stay busy until the manager confirms that the process ended. Send stop after the page actions are finished; the CDP connection closes with the browser.

v1 and v2 paths

Browser methods in both versions
Operationv1v2
Start/api/v1/browser/start/api/v2/browser-profile/start
Stop/api/v1/browser/stop/api/v2/browser-profile/stop
Active profile/api/v1/browser/active/api/v2/browser-profile/active
Local active list/api/v1/browser/local-activeNot available

Launch parameters

Both versions accept the AdsPower launch parameters. launch_args, headless, opening previous tabs and cache cleanup after close are applied. cdp_mask, device_scale, the IP check page and password parameters are accepted and ignored without an error. Omitted parameters use their defaults; launch_args and tab behavior fall back to the profile. The v2 request body uses profile_id or profile_no; v1 uses user_id or serial_number. Other launch fields are optional.

There is no product cap on concurrent profiles. A launch can fail because a profile is busy, a browser build is missing or resources are unavailable. See Errors and diagnostics.

To work with the started browser, continue with Playwright and Puppeteer.

Was this page helpful?

Tell us what to improve

Last updated:

OMBRA / APPLICATION INTERFACE

Application screenshot

Ombra interface with sample data. Select 1:1 to view the screenshot at its original size.