UNPKG

webdriverio

Version:

Next-gen browser and mobile automation test framework for Node.js

18 lines • 538 B
/** * * Get the name of the current Android activity. * * <example> :getCurrentActivity.js it('should get the current Android activity', async () => { const activity = await browser.getCurrentActivity() console.log('Current activity:', activity) }) * </example> * * @returns {`Promise<string>`} The name of the current Android activity * * @support ["android"] */ export declare function getCurrentActivity(this: WebdriverIO.Browser): Promise<string>; //# sourceMappingURL=getCurrentActivity.d.ts.map