WinAppDriver: /session/:sessionid/source to return element size and location
I can get the page source with current WinAppDriver and I see all the elements returned have the attributes for size (width, height) or position(x, y), but the values of those attribute are all zero. I think this is the reason why Appium Inspector does not highlight the element position in the screenshot images when an element was selected in the App Source tree, or clicking on the screenshot does not select the corresponding element in the App Source tree. It would be nice if the driver returns correct size and position so that I don't have to guess and click through the tree to find an element.
Keiichi Yamamoto commented
I found that WinAppDriver can return element size and position if the app was not running in full-screen mode.