I’m looking for a way to activate a Python function when my mouse finds a certain element, would this be possible? I’m building a task optimizer and I’d like to save some clicks, for that I would need logic that activates a function when my mouse passes over an element
I did a search and I didn’t find any article that directly addresses my problem, I found some functions that detect the element and move the mouse to it, but I need something different, I want me to move the mouse manually and when we reach the element, it performs an action, in this case a click. The right way, I believe, is to monitor the element and from there build the function to perform the click. I’m a beginner but I believe the way would be to monitor the element with a Java function and use Selenium to perform the click.
Zoio De Lula is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.