How do I change location(latitude/langitude) in the middle of my native app WebdriverIO automation tests?

How do I change location(latitude/langitude) in the middle of my native app WebdriverIO automation tests?

Hi Helen,

You can use the below command to set the location in the middle of the test WebdriverIO app automation tests:

driver.setGeoLocation({latitude: "45.424721", longitude: "-75.695000", altitude: "0"});