Allow modifying system settings page

How can I automate this page pls, especially that I want to run my tests on a pipeline

start from

capabilities.setCapability(AndroidMobileCapabilityType.AUTO_GRANT_PERMISSIONS, true);
1 Like

I don’t use capabilities but I do use UiAutomator2Options,
And I’ve already added:
options.setAutoGrantPermissions(true);

Second: try to look into solution with ADB command - https://stackoverflow.com/questions/69064305/is-there-an-adb-command-to-change-the-advanced-settings-of-an-installed-applicat

Last solution just automate enable these permission. Possibly it is visible in another windows with

capabilities.setCapability("enableMultiWindows", true);

Thank you :relaxed: , I’ve automated it manually but it was hard to show the other windows on Appium Inspector,

{
  "appium:app": "C:\\Users\\wmejri\\Downloads\\appium-cucumberbdd-testng-2\\app\\goodApk.apk",
  "appium:deviceName": "Android Device",
  "platformName": "android",
  "appium:automationName": "UiAutomator2",
  "appium:autoGrantPermissions": true
  "appium:enableMultiWindows": true
}