Hacker News new | ask | show | jobs
by coppsilgold 542 days ago
What about faking mouse movement from inside the browser? PyAutoGUI is not the right way to be doing this for interacting with JavaScript that has no hope of interrogating user operating system GUI interactions.

And it seems like it would be important to try and adopt user-like mouse movement since JavaScript has access to this information.

1 comments

PyAutoGUI is the optimal tool for clicking things inside of closed shadow-root elements, which are hidden to JavaScript. Can use CDP for clicking other elements.