Lighthouse CLI:如何使用当前的浏览器设置(安装了扩展程序)

发布于 2025-01-26 18:46:39 字数 425 浏览 2 评论 0原文

尝试通过一些扩展启用灯塔CLI来测量URL的性能。

由于

lighthouse https://www.bing.com/search?q=curse+words --output json --output-path D:\lighthouseResults\0506.json --disable-device-emulation --chrome-flags="--user-agent=edge --window-size=360,640 --enable-experimental-extension-apis"

扩展名似乎不起作用(通常需要几秒钟,非常慢),并且没有找到报告中应该存在的HTTP请求。

我应该如何在灯塔中做到这一点,或者我正在寻找错误的工具?

Try lighthouse CLI to measure the performance of URLs with some extensions on.

With

lighthouse https://www.bing.com/search?q=curse+words --output json --output-path D:\lighthouseResults\0506.json --disable-device-emulation --chrome-flags="--user-agent=edge --window-size=360,640 --enable-experimental-extension-apis"

it doesn't seem that the extension was working(usually takes a few seconds, very slow), and did not find http requests that were suppose to be there in the report.

How should I do it in Lighthouse or I'm looking at the wrong tool?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文