Currently I am executing Appium Java automation test cases in AWS device Farm real device.
There is a scenario where I need to toggle the WiFi On or Off during the execution like after certain steps. So how to toggle the WiFi of devices in AWS device Farm using Appium java code.
Also suggest if there are any alternate approach to achieve this scenario through automation in AWS device Farm devices(ios and Android)