问题
How to open settings page in the ios simulator and go to my app setting and change the environment using Appium
I am not able to find any documentation how to do this in webdriverio and appium
回答1:
You can open preferences using Appium activateApp method:
driver.activateApp("com.apple.Preferences");
Then just like with any other screen, search for locators and interact with them using standard methods.
来源:https://stackoverflow.com/questions/61881382/how-to-open-settings-page-in-the-ios-simulator-and-change-the-app-setting-using