Search code examples
appiumwebdriver-io

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


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

enter image description here

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


Solution

  • 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.