github / github/copilot-cli

Use `open_browser_page` tool from VSCode Copilot Chat

未关闭
#2,801 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
area:tools
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the feature or problem you'd like to solve

Copilot Chat cannot currently open and drive a browser without external support.

### Proposed solution

Allow Copilot Chat to open and control a browser in a connected VS Code instance.

### Example prompts or workflows

```
Browse my local development environment hosted at localhost:3000 to test the changes in the previous commit.
```

```
Follow these steps from the company knowledge base against the development instance of the app.
```

```
Navigate to this page and take a screenshot. Then, check out this branch and repeat.
```

### Additional context

There are several editor-agnostic ways to control a browser right now, including playwright-mcp and playwright-cli. However, I haven't found those to be quite as effective as the VSCode integrated browser. The integrated browser also includes some security features such as isolated sessions, which bring some peace of mind.

This feature is important enough to me that it's the only reason I continue to use VSCode Copilot Chat. I find myself hopping between Autopilot in Copilot CLI in a sandboxed dev container and VSCode Copilot Chat in a local folder. I will only jump out to the latter if I need to use the browser.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。