我目前正在使用 phantomjs 来生成 HAR 文件。但它有时会挂断,因此我正在尝试使用 Chrome 来做到这一点。我安装了它并安装了chrome-har-capturer来为我完成这项工作。
但是当我试图执行
chrome-har-capturer -o out.har https://github.com
这是错误的说法
cannot connect to chrome
error : connect ECONNREFUSED
谁能告诉我我错过了什么...我在 centos(64)VPS 和 chrome 最新稳定版本