We use operating system accessibility APIs when available in https://github.com/OpenAdaptAI/OpenAdapt.