Screenshot

@Serializable
@SerialName(value = "screenshot")
data class Screenshot(val id: String, val devicePath: String, val hostPath: String, var token: String = "") : Command

Constructors

Link copied to clipboard
constructor(id: String, devicePath: String, hostPath: String, token: String = "")

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val id: String
Link copied to clipboard
open override var token: String

Functions

Link copied to clipboard

Resolves the effective Selector from a Command. If the command implements Command.HasSelector, returns the explicit selector or falls back to Selector.Auto wrapping Command.HasSelector.tag. Returns null for commands that don't target a UI element (e.g., Ping, GetTree).