adhocore /快速 GO lang命令行工具可直接从终端检查互联网速度。 通过无头镀Chrome使用 。 先决条件 必须安装Chrome浏览器。 chromedp会尝试从这些自动找到chrome可执行文件。 如果您遇到关于Chrome可用性的错误,并且您在自定义路径中使用了chrome,则请检查。 用法 fast安装: go get github.com/adhocore/fast/cmd/fast 最后,确保$GOPATH或$HOME/go/bin在$PATH或%path% ,然后运行: fast 请稍等,否则请Ctrl+C 就这样。 屏幕 故障排除 在MacOS中,您可以执行以下操作: echo ' #!/bin/sh\n\n/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome $@ ' > /