--enable-precise-memory-info 不适用于移动设备 Chrome

--enable-precise-memory-info is not working on Mobile Chrome

下:

 chrome://flags

我没找到

--enable-precise-memory-info

尝试 运行 使用:

ChromeOptions options = new ChromeOptions();
options.AddArguments("--enable-precise-memory-info");

也没有成功,值是四舍五入的。

有可能吗?

如果您需要有关此问题的更多详细信息,请告诉我

注意:这与桌面无关,移动chrome仅浏览!

一种方法是使用 adb

adb -s $deviceId shell am start -n com.android.chrome/com.google.android.apps.chrome.Main argv --args='--enable-precise-memory-info'

获取设备id:

adb devices

但它不会为下一个会话保存标志,如果您尝试使用 SeleniumWebDriver 打开它,可能应该通过添加 ChromeOptions 使用 DesiredCapabilities 来完成...但它是仍然是如何做的问题

目前是 Appium 1.7.1 问题。

在此处关注修复进度: https://github.com/appium/appium/issues/9838