I am using Appium with C# client.
When launching an Android app, I get several permission dialogue boxes like this one.
I would like to click on "Allow" or "Deny" buttons, which I am unable to do using below code.
var Allow_Btn = driver.FindElementById("permission_allow_button");
Allow_Btn.Click();
After a lot of googling, I found out that we can skip these permissions by using the below capability.
Capability.SetCapability("autoGrantPermissions", "true");
But I would like to know if there is any other way to do it.
Thanks in advance.

