[{"source":{"position":39,"lines":["https://github.com/browser-use/browser-use"]},"target":{"position":39,"lines":["<a href="https://github.com/browser-use/browser-use" target="_blank" rel="noopener">https://github.com/browser-use/browser-use"]},"type":"CHANGE"},{"source":{"position":43,"lines":["https://docs.browser-use.com/open-source/introduction"]},"target":{"position":43,"lines":["<a href="https://docs.browser-use.com/open-source/introduction" target="_blank" rel="noopener">https://docs.browser-use.com/open-source/introduction"]},"type":"CHANGE"},{"source":{"position":47,"lines":["https://browser-use.com/showcase"]},"target":{"position":47,"lines":["<a href="https://browser-use.com/showcase" target="_blank" rel="noopener">https://browser-use.com/showcase"]},"type":"CHANGE"},{"source":{"position":83,"lines":["
如果你想用官方 BU2 模型或云浏览器,去 https://cloud.browser-use.com/new-api-key 申请一个 Key,把第二行取消注释并填进去。
"]},"target":{"position":83,"lines":["如果你想用官方 BU2 模型或云浏览器,去 <a href="https://cloud.browser-use.com/new-api-key" target="_blank" rel="noopener">https://cloud.browser-use.com/new-api-key 申请一个 Key,把第二行取消注释并填进去。
"]},"type":"CHANGE"},{"source":{"position":290,"lines":["安装部署(实操步骤)
1. 前置准备
- 项目仓库:browser-use/browser-use(https://github.com/browser-use/browser-use)
- 需要本机具备 Git;按项目语言准备对应运行时(Python / Node.js / Go / Java 等)
- 建议先在本机或测试服务器上跑通,再部署到生产环境
- 遇到依赖版本问题时,以仓库 README 与 Releases 说明为准
2. 官方安装 / 启动命令(摘自项目 README,可直接复制执行)
<br/>
## Path 3: Python Library
Run the Browser Use agent locally from Python, with your choice of model and a local or cloud browser:
**1. Install Browser Use (Python >= 3.11):**
With [uv](https://docs.astral.sh/uv/getting-started/installation/) installed, run `uv init --python 3.12` first if you're starting a new project.3. 部署流程
- 克隆仓库:
git clone https://github.com/browser-use/browser-use - 进入目录后按上面的官方命令安装依赖
- 参考 README 的配置说明填写配置文件或环境变量
- 按官方说明启动服务,确认监听端口与访问地址
- 浏览器访问验证功能,确认无报错后再开放外网
4. 常见问题排查
- 依赖安装失败:先升级包管理器,再确认运行时版本符合 README 要求
- 启动报端口占用:修改配置中的端口或释放被占用端口
- 页面打不开:检查防火墙 / 安全组是否放行对应端口
- 功能异常:查看运行日志,对照 Issues 中同类问题处理