UNPKG

appium

Version:
81 lines (74 loc) 2.48 kB
--- name: Is App Installed short_description: Check whether the specified app is installed on the device description: > iOS tests with XCUITest can also use the `mobile: isAppInstalled` method. See detailed [documentation](/docs/en/writing-running-appium/ios/ios-xctest-mobile-apps-management.md#mobile-isappinstalled). example_usage: java: | driver.isAppInstalled("com.example.AppName"); python: | self.driver.is_app_installed('com.example.AppName'); javascript_wd: | await driver.isAppInstalledOnDevice('com.example.AppName'); javascript_wdio: | driver.isAppInstalled('com.example.AppName') ruby: | @driver.app_installed?('com.example.AppName'); php: | $driver->isAppInstalled('com.example.AppName') csharp: | // TODO C# sample client_docs: java: "http://appium.github.io/java-client/io/appium/java_client/InteractsWithApps.html#isAppInstalled-java.lang.String-" python: "https://github.com/appium/python-client/blob/master/appium/webdriver/webdriver.py#L542" javascript_wdio: "http://webdriver.io/api/mobile/isAppInstalled.html" javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L2586" ruby: "http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#app_installed%3F-instance_method" php: "https://github.com/appium/php-client/" # TODO PHP documentation link csharp: "https://github.com/appium/appium-dotnet-driver/" # TODO Dotnet documentation link # Driver support by platform driver_support: ios: xcuitest: true uiautomation: true android: uiautomator2: true uiautomator: true mac: mac: false # TODO: Verify this windows: windows: false # TODO: Verify this client_support: java: true python: true ruby: true php: true csharp: true javascript_wd: true javascript_wdio: true # Information about the HTTP endpoints endpoint: url: /wd/hub/session/:session_id/device/app_installed method: POST url_parameters: - name: session_id description: ID of the session to route the command to json_parameters: - name: bundleId type: string description: iOS bundleID or Android package name response: - type: boolean description: Return true if installed, false if not # Links to specifications. Should link to at least one specification specifications: jsonwp: https://github.com/appium/appium-base-driver/blob/master/lib/mjsonwp/routes.js#L378