Can anyone please help me in writing selenium automation test script for android toggle button (eg: bluetooth, Wifi ON\\OFF). I am using Appium.
You can use NetworkConnectionSetting class. Read here:
http://appium.github.io/java-client/index.html?io/appium/java_client/NetworkConnectionSetting.html
So f you have to turn wifi off just simply turn its boolean value to false.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.