isAppInstalled

Check if an app is installed.

Usage

1
browser.isAppInstalled(bundleId);

Parameters

Param Type Details
bundleId String ID of bundled app

Example

isAppInstalled.js
1
2
3
4
it('should check if app is installed', function () {
var isAppInstalled = browser.isAppInstalled('com.example.android.apis');
console.log(isAppInstalled); // outputs: true
});

Support

Support for android