如何跳过“欢迎页面”在Chrome中使用adb [英] How to skip "Welcome Page" in Chrome using adb
本文介绍了如何跳过“欢迎页面”在Chrome中使用adb的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用adb命令行在Google Chrome中打开一个URL。使用以下命令设置 --no-first-run-
I am trying to open a URL in Google Chrome using adb command line. Have set "--no-first-run" using following command -
adb shell 'echo "chrome --no-first-run" > /data/local/tmp/chrome-command-line'
已从以下网站- http://peter.sh/experiments/chromium-command-line-switches /
然后我执行以下命令,
adb -s TA99300UFC shell am set-debug-app com.android.chrome
adb -s TA99300UFC shell am start -n com.android.chrome/com.google.android.apps.chrome.Main -d 'http://wikipedia.org'
仍然显示欢迎页面。
如何跳过此步骤,直接转到命令中传递的网站URL?
How can I skip this and go directly to the website URL passed in command?
推荐答案
adb shell 'echo "chrome --disable-fre --no-default-browser-check --no-first-run" > /data/local/tmp/chrome-command-line'
此命令禁用chrome的欢迎屏幕
this command disables the welcome screen for chrome
这篇关于如何跳过“欢迎页面”在Chrome中使用adb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文