In your example of Scheduled Actions you used step
'payload': {
'subtype': 'xml'
}
to get the locator of the desired element.
I use the Java client and in the history I see only hierarchy classes without any element attributes.
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<hierarchy index="0" class="hierarchy" rotation="0" width="1080" height="2358">
<android.widget.FrameLayout class="android.widget.FrameLayout">
<android.widget.LinearLayout class="android.widget.LinearLayout">
<android.widget.FrameLayout class="android.widget.FrameLayout">
<android.widget.LinearLayout class="android.widget.LinearLayout">
...
Is there any way to configure or improve this?