Hybrid application
I have 3 items
When logging in, sometimes there is an item that does not exist. I want to correct the error and not stop the program
wrap your each findElement inside if condition, perform operation only when true. like
if ((MobileElement) driver.findElementByAccessibilityId(“1”)){
(MobileElement) driver.findElementByAccessibilityId(“1”);
el2.click();
}