A question about python PyAutoGUI?

0

Is it possible, by chance, to use PyAutoGUI in a browser that is not appearing on the screen? I type a code for PyAutoGUI to work with the coordinates of a specific browser (eg Firefox) while I view other things on the screen ex: see youtube video) in another browser (ex: Opera)?

What I want to do and click on a certain location every 5 minutes + or- and this operation is fast and the interval between them is not. It does not matter if I lose control of the mouse in those milliseconds, what I did not want was to have to leave the screen open on the screen

ps: I'm sorry if I did not know how to express myself very well.

From now on I thank and excuse ignorance.

    
asked by anonymous 27.02.2018 / 14:47

1 answer

0

PyAutoGUI does not really know what's popping up on the screen, what it does is automate mouse and keyboard operation. If you intend to click on a specific browser (including headless) I recommend that you try the Selenium library. PyAutoGUI will click where you map the click INDEPENDENT of what's showing up at that screen position.

    
18.06.2018 / 21:56