$npx -y skills add agentscope-ai/QwenPaw --skill browser_visible-enUse this skill when the user needs to control the browser launch mode for browser_use. By default, browser_use launches the local Chrome/Chromium using managed CDP; headed controls whether the window is visible, and private_mode controls whether CDP is disabled in favor of Pl
| 1 | # Browser Launch Modes |
| 2 | |
| 3 | `browser_use.start` has only two launch modes: |
| 4 | |
| 5 | - Default: managed CDP |
| 6 | - `private_mode=true`: Playwright-managed |
| 7 | |
| 8 | Parameter meanings: |
| 9 | |
| 10 | - `headed`: whether to display the browser window |
| 11 | - `private_mode`: whether to disable CDP and use Playwright instead |
| 12 | |
| 13 | The two parameters are independent and can be freely combined. |
| 14 | |
| 15 | ## Common Usage |
| 16 | |
| 17 | Default launch: |
| 18 | ```json |
| 19 | {"action": "start"} |
| 20 | ``` |
| 21 | |
| 22 | Open a visible window: |
| 23 | ```json |
| 24 | {"action": "start", "headed": true} |
| 25 | ``` |
| 26 | |
| 27 | Without CDP: |
| 28 | ```json |
| 29 | {"action": "start", "private_mode": true} |
| 30 | ``` |
| 31 | |
| 32 | Visible window + without CDP: |
| 33 | ```json |
| 34 | {"action": "start", "headed": true, "private_mode": true} |
| 35 | ``` |
| 36 | |
| 37 | ## When to Use `private_mode` |
| 38 | |
| 39 | Only set `private_mode=true` when the user explicitly requests one of the following: |
| 40 | |
| 41 | - Does not want the browser managed via CDP |
| 42 | - Wants to use Playwright instead |
| 43 | - Wants to reduce the possibility of other local tools connecting via CDP |
| 44 | |
| 45 | Otherwise, just set `headed=true` as needed. |
| 46 | |
| 47 | ## Notes |
| 48 | |
| 49 | - The default is managed CDP |
| 50 | - The launch mode is entirely determined by the call parameters |
| 51 | - Managed CDP requires Chrome / Chromium / Edge to be installed locally |
| 52 | - `private_mode=true` does not mean absolutely undetectable — it simply switches to Playwright management |
| 53 | - When the user manually operates the visible browser, the idle timer may not be refreshed |
| 54 | - `private_mode` is an explicit parameter for each `start` call and is not persisted |
| 55 | - If a browser is already running, you must `stop` it and then `start` again to switch launch modes or window visibility |
| 56 | - Visible mode occupies the desktop and requires a graphical environment; it may not work on servers or headless environments |