How can we improve the Windows dev platform?

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.

3 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Keiichi Yamamoto shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • Keiichi Yamamoto commented  ·   ·  Flag as inappropriate

        I found that WinAppDriver can return element size and position if the app was not running in full-screen mode.

      Feedback and Knowledge Base