@ypotluri
- to clear all data with simulator use in driver start:
capabilities.setCapability(MobileCapabilityType.FULL_RESET, true);
- to push file into simulator use “xcrun simctl addmedia your_deviceOrSimuloator_UDID path_to file”. file will be added to gallery.
Now you can test in Simualtor with Camera functionality of your client. It will open gallery instead and you can just choose some image you just uploaded into it.