[Android][ChromeDriver][Appium]chromeOptions to disable welcome screen

Chromedriver checked

Appium can provide chromeOption like:

"chromeOptions": {
   // options
}

or

"goog:chromeOptions: {
   // options
}

https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/caps.md

Then, we can give disabling welcome screen on chrome with below.

--disable-fre
"chromeOptions": {
    "args": ["--disable-fre"]
}

BTW, we can see which capabilities are available as the chrome option in https://chromium.googlesource.com/chromium/src/+/master/chrome/test/chromedriver/capabilities.cc#541 . The args is there, but prefs is only in non Android. So, prefs is available PC chrome.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.