在 e2e 自动化测试中使用 --blink-settings=imagesEnabled=false 是否安全?

Is it safe to use --blink-settings=imagesEnabled=false for e2e automation tests?

提问人:M András 提问时间:9/27/2023 更新时间:9/27/2023 访问量:30

问:

根据您的经验,在 e2e 自动化测试中使用 --blink-settings=imagesEnabled=false 是否安全? 查看 https://chromium.googlesource.com/chromium/blink/+/master/Source/core/frame/Settings.in 中的参数

imagesEnabled initial=true, invalidate=ImageLoading

这到底在做什么? 由于网络问题,在自动测试期间禁用加载图像有什么缺点吗?(在视觉回归测试和屏幕截图创建之外) 如果图像被禁用,是否会对测试执行产生任何影响?

google-chrome-devtools e2e-测试 chrome-options

评论


答: 暂无答案