currentActivity

Receive the current activity on an Android device.

Usage

1
browser.currentActivity();

Example

rotateAsync.js
1
2
3
4
it('should get the activity of the android device', function () {
var activity = browser.currentActivity()
console.log(activity); // returns android activity information
});

Support

Support for android