startActivity

Start an arbitrary Android activity during a session.

Usage

1
browser.startActivity(appPackage,appActivity[,appWaitPackage][,appWaitActivity]);

Parameters

Param Type Details
appPackage String name of app
appActivity String name of activity
appWaitPackage
optional
String name of app to wait for
appWaitActivity
optional
String name of activity to wait for

Example

startActivity.js
1
browser.startActivity('io.appium.android.apis', '.view.DragAndDropDemo');

Support

Support for android