Scheduled Actions xml

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?

yes, it’s possible: chore: Expose standard xml source attributes in the corresponding step by mykola-mokhnach · Pull Request #646 · appium/appium-uiautomator2-server · GitHub

Works as expected with [email protected].

Thanks for the improve.