ElementTargetingStrategy

Defines an element targeting strategy type, which can be used to capture view layout information in the application UI as well as render element targeted experiences.

Functions

Link copied to clipboard
abstract fun captureLayout(): ViewElement?

Capture the layout hierarchy in the currently rendered screen of the application.

Link copied to clipboard

Capture the screenshot image for the currently rendered screen of the application.

Link copied to clipboard
abstract fun inflateSelectorFrom(properties: Map<String, String>): ElementSelector?

Create and return a selector implementation from configuration properties.