How to open settings page in the ios simulator and change the app setting using Appium

时间秒杀一切 提交于 2021-01-29 14:32:25

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!