startActivity

Start an arbitrary Android activity during a session.

Usage

1
browser.startActivity(appPackage,appActivity);

Parameters

Param Type Details
appPackage String name of app
appActivity String name of activity

Example

startActivity.js
1
2
3
4
browser.startActivity({
appPackage: 'io.appium.android.apis',
appActivity: '.view.DragAndDropDemo'
});

Support

Support for android