i am working on some UI automation, and so far worked with pywinauto to do that, but now i want to automate an application, that used avalonia for its UI and pywinauto doesn't seem to be able to access the UI properly. For context: pywinauto offers a function called print_control_identifiers, which gives you all the handles etc. you need to select the elements of the UI, but for this app the function doesn't give me any handles to work with. The only idea i have is, that i might be a similar problem pywinauto (according to docs) can have with chrome, where a specific parameter need to be set, for pywinauto to access the renderer (or with a renderer, I'm not 100% sure). I also tried to add the parameter used to work with chrome and pywinauto (--force_renderer_accessibility), but it didn't solve the problem. maybe there is a avalonia version of this i could use. Now i want to either be able to use pywinauto with avalonia, or maybe anybody knows another UI automation module for python i could use instead. you can use one of the demo UIs avalonia provides (https://avaloniaui.net/showcase ; i tried icon8 Lunacy and the could reproduce the issue there) and a very simple python script from pywinauto import Application app = Application(backend='uia').connect(title="Lunacy", timeout=100) window = app.window(title_re="Lunacy") window.set_focus() # used this to confirm the windows got connected window.print_control_identifiers() Continue reading...