This post is a compilation of the Appium discussion thread here that describes the commands for testing the mobile device over the WiFi. Here is a python script for the commands. You would need python 3 and your mobile device IP address for this.
Here is the script for the task:
Usage of the script:
python wireless_test.py <mobile device ip address> python wireless.py 220.127.116.11
That’s all for this short post. Cheers.