Automator Script - smart clicks on web pages
I've seen many variations and parts of this, but can't connect the dots. I need an automator script to:
1) Search for a defined (hard coded) text string in on a web page in Safari
2) Get the size & coordinates of the text string
3) Use the size & coordinates to determine the middle of the text string (horrizaontal & verticle)
4) Left mouse click on the middle point determined in the previous step
I think this would be very useful and could work (depending on how its done) for both buttons and text links on web pages even if they have java scripts to execute the links.
Automator-OTHER, Mac OS X (10.7.5)