Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add openApp and closeApp methods to ServersAppiumService; enhance tes… #25

Merged
merged 1 commit into from
Feb 8, 2025

Conversation

Snider
Copy link
Contributor

@Snider Snider commented Feb 8, 2025

This pull request includes significant updates to the ServersAppiumService class in src/servers/appium.ts. The changes primarily focus on adding new functionalities for controlling Android apps and improving code readability by removing redundant comments and ensuring consistent formatting.

New functionalities:

  • Added openApp method to launch an Android app using the monkey command.
  • Added closeApp method to force-stop an Android app using the am force-stop command.
  • Introduced openAndCloseApp method, which includes an optional script parameter for custom actions to be performed while the app is open.

Code readability improvements:

  • Removed redundant comments throughout the ServersAppiumService class to make the code cleaner and easier to read. [1] [2]
  • Ensured consistent formatting by aligning code style, such as spacing and semicolon usage. [1] [2]

…ts for Appium server management and device interaction
@Snider Snider merged commit 463551b into main Feb 8, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant