How to set Coordinates in Appium Session on Real Device?

How to Set Coordinates on a Real Device in an Appium Session

Hi Toby,

You can use the below code in capabilities :

Map<String, String> location = new HashMap<>();
                location.put("lat", "Sample Latitude coordinates");
                location.put("long", "Sample Longitude coordinates");
                caps.setCapability("location", location);