LogAction

data class LogAction(val operation: String, val target: String?, val finished: Boolean, val outcome: String?, val duration: Duration?, val requestId: Long?, val step: String? = null)(source)

Something Tap did on the device: one entry when it starts and one when it finishes.

A command the driver runs (a tap, typed text, a wait) is logged by the driver itself, so its entries are ordered exactly among the app's lines; queries (exists, count, a snapshot) are left out. A call the host runs over ADB (an app launch, a device setting) is written by the server when the call starts and ends.

Constructors

Link copied to clipboard
constructor(operation: String, target: String?, finished: Boolean, outcome: String?, duration: Duration?, requestId: Long?, step: String? = null)

Properties

Link copied to clipboard

With finished: how long it took.

Link copied to clipboard
Link copied to clipboard

The operation in snake_case: tap, wait_visible, launch, set_network.

Link copied to clipboard

With finished: ok, a command error code (NOT_FOUND) or a failure reason.

Link copied to clipboard

Driver commands: the request the driver answered.

Link copied to clipboard
val step: String?

The step the call that caused it was made in (withStep), or null.

Link copied to clipboard

What it acted on: a command's selector, an app call's package. Never typed text.