Tech
[分享创造] Chrome 136 后 --remote-debugging-port 对默认 Profile 失效, AI Agent 怎么接现有登录态?
Chrome 136 起,一个常见的浏览器自动化方案发生了变化:如果仍然使用 Chrome 默认数据目录,命令行传入的 --remote-debugging-port 和 --remote-debugging-pipe 不再生效。Chrome 官方建议调试时改用自定义 user-data-dir ,或者使用 Chrome for Testing 。 官方说明: https://developer.chrome.com/blog/remote-debugging-port 问题在于,自定义 Profile 很适合测试和隔离,却不等于用户正在使用的浏览器:日常登录态、已打开标签页和现有扩展往往仍在默认 Profile 中。 现在大致有几条路线: 1. 需要可复现测试、独立 Profile 或进程控制:使用 Chrome for Testing 、专用 user-data-dir 或托管浏览器。 2. 接受浏览器级调试权限:较新的 Chrome 可以在 chrome://inspect/#remote-debugging 中由用户为当前实例开启远程调试,适合直接使用 CDP 的工...
Read the full discussion on V2EX
This article was aggregated from V2EX. Click to join the conversation.
View on V2EX