Page 1 of 1

Clicking a website button without "physically" clicking it

Posted: 13 Nov 2013, 20:51
by Coldblackice
Would it be possible to script the clicking of a button on a website, but without "manually" or physically clicking it? (i.e., by actual coordinate mouse-clicking)

I often see buttons on websites that perform some function, but when hovering over them with the mouse, no link is shown in the status bar. So I'm wondering if it's possible to click these buttons manually (without physical clicking), and if AHK could similarly do it.

Re: Clicking a website button without "physically" clicking

Posted: 14 Nov 2013, 10:14
by tank
DOM has the click() method for most elements. but other events other than click such as onfocus may be required. experimentation and discovery is your friend.
There are sites that even i find to complex to automate so I instead trap HTTP traffic with fiddler and automate site interactions with http post and get as necessary.

Some sites are easy some are hard and were it not for the fact that i dispise the syntax of cURL i would always use it