设置 · 连接 Chrome
把 Chrome 连接到 socai
socai 通过 Chrome DevTools Protocol(CDP)驱动你已经登录的真实 Chrome。只需开启一次,大约 30 秒。
01
开启远程调试
在 Chrome 中新建一个标签页,把 chrome://inspect/#remote-debugging 粘贴到地址栏并回车,然后勾选 Enable remote debugging(开启远程调试)。
chrome://inspect/#remote-debugging
Remote debugging
Enable remote
debugging Allow apps on this
device to connect to
Chrome.
勾选这里
地址要直接粘贴到地址栏 —— 它不会出现在搜索结果里。
02
允许 socai 连接
socai 首次接入时,Chrome 会弹出授权提示。点击 Yes 即可让 socai 接入你的浏览器。
Allow remote debugging?
socai 想要连接到 Chrome 来运行你的任务。它只会打开属于自己的标签页。
socai · localhost:9222
No Yes
点击 Yes
每次会话只需确认一次。确认后 socai 顶部会显示 “chrome · 已连接”。
不会动你现有的浏览器。 socai 只打开属于自己的临时标签页,用完即关。你已有的标签、历史和登录状态都保持原样。