Appium-Activate App(激活应用程序)

Appium-Activate App(激活应用程序)

Activate App

Example UsageDescriptionSupportAppium ServerAppium Clients

HTTP API SpecificationsEndpointURL ParametersJSON ParametersResponse

Activate the given app onto the device //在设备上激活给定的应用程序

Example Usage

Javadriver.activateApp('com.apple.Preferences');driver.activateApp('io.appium.android.apis');Pythondriver.activate_app('com.apple.Preferences')driver.activate_app('io.appium.android.apis')Javascript// webdriver.io exampledriver.activateApp(null,'com.apple.Preferences')driver.activateApp('io.appium.android.apis')// wd example// Supports only mobile: queryAppState for iOS, XCUITestRuby# ruby_lib exampleactivate_app('com.apple.Preferences')activate_app('io.appium.android.apis')# ruby_lib_core example@driver.activate_app('com.apple.Preferences')@driver.activate_app('io.appium.android.apis')C#driver.activateApp('com.apple.Preferences');driver.activateApp('io.appium.android.apis');PHP// Supports only mobile: queryAppState for iOS, XCUITest

Description

iOS tests with XCUITest can also use the mobile: activateApp method. See detailed documentation.

Support

Appium Server

详见

Appium Clients

详见

HTTP API Specifications

Endpoint

POST /session/:session_id/appium/device/activate_app

URL Parameters

namedescriptionsession_idID of the session to route the command to

JSON Parameters

nametypedescriptionbundleId or appIdstringBundleId for iOS. Package name for Android.

Response

null

相关内容

如何候补购票?儿童票怎么买?这份铁路12306出行攻略请收好→
给牛吃酒,这是为什么呢?
365bet赌城投注

给牛吃酒,这是为什么呢?

07-15 ☯ 8411
在 iPhone 上设置触控 ID
365bet官网手机版

在 iPhone 上设置触控 ID

07-04 ☯ 4538