I am new to Appium, and I want to execute some ADB commands using appium with C#, example to execute “adb shell ps”
Dictionary<string, object> map = new Dictionary<string, object>();
var output = driverAndroid.ExecuteScript(“mobile: shell”, map);
And I start appium programatically
if (service == null)
builder = new
service = builder.Build();
So an exception raised and it says to run appium with relaxed Security. I try running appium by command line with this “appium --relaxed-security” and it works. I try to check this link
I think I need to add an argument but I don’t know which one.
OptionCollector args = new OptionCollector().AddArguments(GeneralOptionList.);
So how to start appium with relaxed security?
I am using C# with Appium