---
title: "Open browser"
method: POST
path: "/boxes/{boxId}/browser/open"
tags: ["Browser"]
---

# Open browser

`POST /boxes/{boxId}/browser/open`

Open the browser in the specified box. If the browser is already open, repeated calls will not open a new browser.

## Path parameters

- `boxId` string, required

## Request body

- BrowserOpenConfig — Browser open config
  - `showControls` boolean — Whether to show the browser's minimize, maximize and close buttons. Default is true.
  - `maximize` boolean — Whether to maximize the browser window.
  - `size` string — The window size, format: <width>x<height>. If not specified, the browser will open with the default size. If both `maximize` and `size` are specified, `maximize` will take precedence.

## Response `200`

Successfully opened the browser, return the CDP url

- BrowserOpenResult — Browser open result
  - `cdpUrl` string, required — The CDP url. You can use this URL with CDP libraries like puppeteer/playwright/etc.

## Changes

- **2025-09-26** `a7bbbd657a48` — 1 breaking, 1 info
  - the response's body type/format changed from `string`/`` to `object`/`` for status `200`
  - added the required property `cdpUrl` to the response with the `200` status
- **2025-09-26** `5f6aa47d622f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/babelcloud/apis/gbox-open-api/changes/boxes/:boxId/browser/open/post.md)

---

[API](https://skmtc.dev/babelcloud/apis/gbox-open-api.md) · [All operations](https://skmtc.dev/babelcloud/apis/gbox-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/babelcloud/gbox-open-api/revisions/d655577fa915/schema)
