daveenguyen / atomacos

Automated Testing on macOS
https://daveenguyen.github.io/atomacos/
GNU General Public License v2.0
47 stars 13 forks source link

Why depend on pyautogui? #7

Open daveenguyen opened 5 years ago

daveenguyen commented 5 years ago

from atomac issue

@segalion: I have seen that you depend on pyautogui<0.9.42 (for some reason?). Its needed this depend? For me pyautogui a more top level library than pyatom.

daveenguyen commented 5 years ago

pyautogui is there because atomac provided methods to send native keyboard/mouse inputs. I wanted this project to be a sort of drop-in replacement for atomac. However, I also didn't want to reimplement the input queue system when there are libraries that can do a better job.

I agree with you about the atomacos being a lower level library and I am thinking about removing _input, mouse, keyboard altogether. https://github.com/daveenguyen/atomacos/blob/master/atomacos/_mixin/_input.py

This would allow users to choose whatever input library for their projects.

It's actually hard for me to imagine the use case for some of the click methods originally provided by atomac 🤣

daveenguyen commented 5 years ago

Planning to drop the keyboard/mouse api in favor of user using a high level keyboard/mouse library of their choice.