Closed naagf5 closed 1 year ago
If you could get the coordinate, https://github.com/appium/appium-mac2-driver#macos-click may help
If something could be done without touching the UI then I would prefer that method as more reliable:
Also AppleScript approach (less reliable though): https://apple.stackexchange.com/questions/300949/how-to-change-the-spelling-language-in-os-x-with-applescript
CONTEXT: My requirement is to click on Top right icon from available list of icons (I hope we can call it Systemtray in Mac like windows). When i click on that icon, it will show a menu. I need to click on one of menu items listed. (example below)![image](https://user-images.githubusercontent.com/48239988/208825995-2d883418-8766-4a60-855d-99bacd9d707e.png)
Whats Happening. Try-01: I tried to click on the icon with xpath which got from Appium Inspector. The click operation is not failing with no such element present. That means it is able to find the element. The click operation passing but not opennig any menu.