Skip to content

[💡 Feature]: Add support for Appium launch/relaunch commands for iOS XCUITest driver v5.0.x #11205

@AntRybalko

Description

@AntRybalko

Is your feature request related to a problem?

Starting from v5.0.0 of XCUITest driver for Appium main methods for app launching/relaunching stopped working

Based on their's changelist - 'Obsolete reset, launchApp and closeApp APIs now throw errors on invocation'

And in code:
async closeApp() {
throw new Error(
The closeApp API has been deprecated and is not supported anymore. +
Consider using corresponding 'mobile:' extensions to manage the state of the app under test.
);

And the same for async launchApp() { .... } and reset()

Describe the solution you'd like.

All main Appium methods for app launch/relaunch should be refactored for iOS runs in accordance with XCUITest driver breaking changes

Here is the documentation that I found which could be useful during refactoring process - https://appium.readthedocs.io/en/latest/en/writing-running-appium/ios/ios-xctest-mobile-apps-management/

Describe alternatives you've considered.

N/A

Additional context

N/A

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Idea 💡A new feature ideahelp wantedIssues that are free to take by anyone interested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions