

Of course, you must also include appropriate platformName (=Android), platformVersion, deviceName, and app capabilities, at a minimum. The way to start a session using the UiAutomator2 driver is to include the automationName capability in your new session request, with the value UiAutomator2. Mac, Windows, or Linux OS with the ability to run the Android SDK.Java 7 installed and configured correctly for your platform.In addition to Appium’s general requirements: Older Android-based drivers include: The UiAutomator Driver The Selendroid Driver Development of the UiAutomator2 driver happens at the appium-uiautomator2-driver repo. This driver leverages Google’s UiAutomator2 technology to facilitate automation on a device or emulator. More details can be found in the official protocol docs.Appium’s flagship support for automating Android apps is via the UiAutomator2 driver. For it to work, there can't be a delay between the interactions.Īppium command. Vertical, for example, requires pressing down, moving to a different y coordinate, and then releasing. This latency can make certain touch interactions impossible because some interactions need to be performed in one sequence. This is useful because Appium commands are sent over the network and there's latency between commands. 'Touch Perform' works similarly to the other singular touch interactions, except that this allows you to chain together more than one touch action as one command. This functionality is only available from within a native context. response: Clipboard content as base64-encoded string or an empty string if the clipboard is empty.Retrieve visibility and bounds information of the status and navigation bars. Intent category which will be used to start activityįlags that will be used to start activityĪdditional intent arguments that will be used to start activityĭoesn’t stop the process of the app under test, before starting the app using adb Intent action which will be used to start activity startActivity ( appPackage, appActivity, appWaitPackage, appWaitActivity, intentAction, intentCategory, intentFlags, optionalIntentArguments, dontStopAppOnReset ) More details can be found in the official protocol docs. Returns the information types of the system state which is supported to read as like cpu, memory, network traffic, and battery.Īppium command.

If remote_path is set, the response is empty string The password for the remote authentication. The name of the user for the remote authentication. Null or empty string value (the default setting) means the content of resulting file should be encoded as Base64. This option only has an effect if there is screen recording process in progreess and forceRestart parameter is not set to true. The following protocols are supported http/https, ftp. The path to the remote location, where the resulting video should be uploaded.

stopRecordingScreen ( remotePath, username, password, method )
