如何在iOS模拟器中打开设置页面并使用Appium更改应用程序设置 [英] How to open settings page in the ios simulator and change the app setting using Appium

查看:118
本文介绍了如何在iOS模拟器中打开设置页面并使用Appium更改应用程序设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在ios模拟器中打开设置页面并转到我的应用设置并使用Appium更改环境

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

我无法在webdriverio和appium中找到任何文档该怎么做

I am not able to find any documentation how to do this in webdriverio and appium

推荐答案

您可以使用Appium

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.

这篇关于如何在iOS模拟器中打开设置页面并使用Appium更改应用程序设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆