Hi Everyone,
@mykola-mokhnach using Appium 2.x-xcuitestdriver-mac2driver
Mac0S Ventura 13.21
Xcode 14.2
I’m using the accessibility inspector to locate the mac app element.
please, help me to get this.
- How to get XPath in accessibility inspector?.
- How to create a dynamic XPath?
- Can I use AppiumForMac XPath for mac App automation with mac2Driver?
Thank you.
- How to get XPath in accessibility inspector?.
Unfortunately this is impossible. Apple’s inspector does not know anything about xml
- How to create a dynamic XPath?
I usually test my xpath by executing a test script in debug mode and requesting page source from the driver for the particular screen states. It would be nice to have a support for it in Appium Inspector. It is apparently doable, just needs someone with React development skills to take care of it.
- Can I use AppiumForMac XPath for mac App automation with mac2Driver?
No, these are two different drivers
Thank you very much @mykola-mokhnach.