I'm trying to automate setting the iOS into airplane mode, but I don't know how to access the settings panel to do so.
I have tried the following to be able to see if the settings panel is listed when the app is in the background so as to be able to know what it is to access the settings:
target.deactivateAppForDuration(10); window.logElementTree();
HOWEVER, this just puts the App in the background for ten seconds and then lists the elements in the App window.
Any ideas on how to to access the settings panel to turn on airplane mode?
Thanks in advance