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 188.8.131.52
That’s all for this short post. Cheers.