Mac2 driver UnSupported getLocation Command

I want getLocation when I find a element by Mac2 Driver
appium version:1.22.0
Does Appium can support this command?

2022-02-23 10:44:09:921 - [W3C (13f25896)] Driver proxy active, passing request on via HTTP proxy
2022-02-23 10:44:09:922 - [debug] [WD Proxy] Matched ‘/wd/hub/session/13f25896-7b8c-46b2-9279-897b1410fb31/element/88EC35B3-A35D-4664-901A-2ECF7589B190/location’ to command name ‘getLocation’
2022-02-23 10:44:09:922 - [debug] [WD Proxy] Proxying [GET /wd/hub/session/13f25896-7b8c-46b2-9279-897b1410fb31/element/88EC35B3-A35D-4664-901A-2ECF7589B190/location] to [GET http://127.0.0.1:10100/session/BDB85CFC-9533-4C08-A378-0B151EED5B52/element/88EC35B3-A35D-4664-901A-2ECF7589B190/location] with no body
2022-02-23 10:44:09:924 - [WD Proxy] Got response with status 404: {“value”:{“error”:“unknown command”,“message”:“Unhandled endpoint: /session/BDB85CFC-9533-4C08-A378-0B151EED5B52/element/88EC35B3-A35D-4664-901A-2ECF7589B190/location – http://127.0.0.1:10100/ with parameters {\n wildcards = (\n “session/BDB85CFC-9533-4C08-A378-0B151EED5B52/element/88EC35B3-A35D-4664-901A-2ECF7589B190/location”\n );\n}”,“traceback”:""},“sessionId”:“BDB85CFC-9533-4C08-A378-0B151EED5B52”}

this driver only supports W3C /rect API, which returns both location and element size

1 Like