In above image there is a camera button, that works perfectly with below code.
AgenceGS_Framwork.driver.context(“NATIVE_APP”);
driver.findElement(By.xpath("//android.widget.Button[@index=‘0’]")).click();
, But some times it clicks some where else on screen and program fails,
Can someone please help me , I have been trying to figure this out for many days.
Thanks In Advance.