I’m using Cursor to write a java Robot program to drive an open browser. When I have the robot send MouseMoves, clicks, or keying in text, nothing happens in the browser. If Cursor is open (but not on top) the characters can be entered into a cursor window, not the browser.
What matters is which program is ‘active’. not on top.
Which OS and OS version do you use?
a recent ubuntu
Does it also occur if you make the browser active?
24.04.2 LTS
I will focus on which processes are active. thanks
1 Like
I asked Cursor about why this may be happening and the following is likely:
-
Security Restrictions:
-
Modern operating systems have security features that prevent applications from simulating input when certain windows are in focus
-
This is especially true for browsers which are considered high-security applications
Yes very likely, some OS like MacOS have options to allow such interaction by other applications.