Skip to content

Commit

Permalink
keep the command itself for backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Nov 9, 2024
1 parent 90cb666 commit afaf867
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/commands/app-management.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,15 @@ export async function mobileQueryAppState(opts) {
return await this.queryAppState(appId);
}

/**
* @this {AndroidDriver}
* @param {string} appId
* @returns {Promise<void>}
*/
export async function activateApp(appId) {
return await this.adb.activateApp(appId);
}

/**
* @this {AndroidDriver}
* @param {import('./types').ActivateAppOpts} opts
Expand Down

0 comments on commit afaf867

Please sign in to comment.