I have tested links on Safari and links are not correctly getted.
Tipically, text under mouse that contains a link, has a parent of AXLink role
But when you get properties of the AXLink parent pyatom allways set AXURL as None.
uiatomac = atomac.NativeUIElement.getSystemObject()
w = uiatomac.getElementAtPosition([x,y])
print(w.AXParent.AXURL)
None
If you inspect the same element with UIElementInspector app, you can see all the UI tree, and the info of URL link is correctly retrieved inside the parent,
So seems that pyatom is failing retrieving this AXURL property.
I have tested links on Safari and links are not correctly getted.
Tipically, text under mouse that contains a link, has a parent of AXLink role
But when you get properties of the AXLink parent pyatom allways set AXURL as None.
If you inspect the same element with UIElementInspector app, you can see all the UI tree, and the info of URL link is correctly retrieved inside the parent,
So seems that pyatom is failing retrieving this AXURL property.