Adb gets the control location

question:
can I get the position of page-specific controls and controls on the mobile screen through adb? Is it possible to parse Android"s xml tree like html?

current situation:
use node.js to automate mobile phone operations by running adb shell. The simple adb shell command has been connected and run successfully, but I don"t know how to solve the above problem and want to get help.

Jun.21,2022

appium

Menu