This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.
1 year later
10 months later
I have found this in the appium documentation for appium.
http://appium.io/docs/en/commands/device/network/toggle-airplane-mode/#appium-clients22
POST /session/:session_id/appium/device/toggle_airplane_mode
Is there any java example using this? How do we make the POST call on the driver?
Android:
iOS:
No standard way to do it, however one can emulate the normal user behaviour like it is described in https://appiumpro.com/editions/1513
Thank you @mykola-mokhnach. I will give this a try.
One clarification question. The comment states that:
“This option only works up to Android 6.”
Any idea this will work for Android 7 or above?